10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all,
can we SFTP to the destination server in a non-interactive mode with out estbalishing the public key of origination server in the destination server? meaning i want to harcode the password as part of the below script or as an variable?
Please let me know if there is any better way to... (2 Replies)
Discussion started by: Ariean
2 Replies
2. UNIX for Dummies Questions & Answers
#!/usr/local/bin/perl -w
use Net::SFTP;
use File::Copy;
my $user=(getpwuid($<));
my $server = "servername";
print "user - $user server - $server \n";
my %args = ( user => "$user", ssh_args => {port=> 'portnum'} );
$args{debug} = 1;
$args{user} = "user";
my $sftp=Net::SFTP->new($server,... (1 Reply)
Discussion started by: Yashaswini H L
1 Replies
3. Red Hat
Hello list,
I am attempting to connect from a Redhat 6 machine to another linux machine. When I use the SSH command and specify my private key to use this it all connects fine, however there doesn't seem to be an option in the SFTP command to specify my private key for authentication.
In... (2 Replies)
Discussion started by: landossa
2 Replies
4. Solaris
I am using solaris unix 8.2 version. I want to bypass password authentication for sftp. Can you please give some ideas on this. thanks.Regards. (4 Replies)
Discussion started by: vijill
4 Replies
5. Shell Programming and Scripting
Hi,
I need to sftp from one Unix Server (source) to another (destination) (both SunOS) non-interactively.
I did the following :
1) Generated public key in source server in $HOME/.ssh dir without giving any passphrase
2) Added the contents of the public key generated to authorized_keys2... (7 Replies)
Discussion started by: Sabari Nath S
7 Replies
6. Shell Programming and Scripting
Dear All
I need to discuss about the problem which has been discussed so many times here. I need to transfer a file from server A to server B via passwordless SFTP script. By reading the threads on this topic here, I followed the below steps but still it's not working ..
Pls find the steps... (13 Replies)
Discussion started by: uday.shankar
13 Replies
7. UNIX for Advanced & Expert Users
Hello,
We have an issue attempting to login from a Unix Solaris to an NT server using key authentication. I will attempt to provide you with as much of the relevant information regarding the way the system is set up, although I'm workingin solely on the Unix side, so don't have full access to... (3 Replies)
Discussion started by: SteveBurch
3 Replies
8. HP-UX
Hello,
Do you guys know set of commands that can incorporate to sftp/scp/ssh to add password in a script to automate file transfer.
Our client is not using ssh keys authentication so we are force to create a script to pass the password into the script to transfer files via sftp/scp/ssh.
We... (4 Replies)
Discussion started by: james_falco
4 Replies
9. Shell Programming and Scripting
Hi,
I have written a script that does SFTP successfully without using the password (Thanks to this site :b: ) and it works fine.
The thing is - this script uses the public and private key generation with a "null" passphrase.
But I now need to write a script that does SFTP non-interactively... (1 Reply)
Discussion started by: sandy0077
1 Replies
10. Shell Programming and Scripting
Is is possible switch user from a non-root user to root user without entering the password interactively inside a korn shell script which is run by a non-root user?
e.g. I have a non-root user called infodba who is in dba group and I want to create a shell script which is executed by infodba... (5 Replies)
Discussion started by: stevefox
5 Replies