![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community. |
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Copying a list of files from one 'server' to another? | Sepia | UNIX for Dummies Questions & Answers | 6 | 05-05-2009 09:15 AM |
| copying .profile files to a new server (SCO) | sighbrrguy | UNIX for Dummies Questions & Answers | 2 | 12-05-2007 03:02 PM |
| Copying files from laptop to remote server using SSH | patwa | UNIX for Dummies Questions & Answers | 3 | 11-22-2006 04:14 AM |
| copying files to a remote aix server using tar! | system-admin | AIX | 2 | 11-17-2006 03:30 PM |
| Copying files between 2 Unix server | Docboyeee | UNIX for Advanced & Expert Users | 9 | 10-20-2003 02:54 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi,
I want to transfer files from one linux server to another linux server using shell script using sftp. But I dont won't that while connecting one server to another server it will ask for password , it should be part of script. I wont to know how password should be included in the script. so after execution of script files should be copied without asking password from one server to another server. Regards, Manoj |
|
||||
|
Quote:
Thanks for quick response, but in our environment nfs is not allowed. |
|
||||
|
Quote:
Use expect only if you have no ssh. Or, install the ssh(may be OpenSSH) which will help you to transfer files without prompting passwords.. What you needs to do is 1.Install SSH 2.create the keys using rsa or dsa eg. sshkeygen -t rsa 3.Copy the public key and add it to the authorized key file in the .ssh directory of the destination server 4. Do scp or sftp with file |
|
||||
|
Quote:
man ssh-keygen |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|