![]() |
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 |
| Script(s) to Automate Tasks | droppedonjapan | Shell Programming and Scripting | 2 | 05-21-2008 10:32 AM |
| script to automate mksysb via nim in AIX 5.3 | barkath | Shell Programming and Scripting | 0 | 12-20-2007 06:46 PM |
| here document to automate perl script that call script | hogger84 | Shell Programming and Scripting | 3 | 10-22-2007 10:15 AM |
| Automate batchfile generation for sFTP | mpang_ | Shell Programming and Scripting | 0 | 04-26-2006 05:34 AM |
| automate the input in a script | erwinspeybroeck | UNIX for Dummies Questions & Answers | 11 | 01-31-2002 10:54 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I struggled with this problem for quite a while before discovering lftp.
For Solaris you can get a copy at SunFreeware. It allows you to use a shell type script with a password embedded for those servers that do not allow you to place a public key on them for passwordless authentication. The "mirror" option is very handy indeed. Much easier to use than expect. |
|
||||
|
I am also trying to automate sftp thru a cron file to be run every evening. My question is if I generate the key on the secure server and move it over to my server, will it affect other users from other servers. In other words can they still use their password to get into the secure server, or would they too have to copy a key over their server.
|
|
||||
|
Please send that script to the forum
Quote:
Hi Priya could u please share that script for automating SFTP with all of us. |
|
||||
|
I too am interested in this thread. I tried what you recommended and I received this error message:
ftp: Unknown Host hit-dw Name does not resolve to supplied parameters; neither nodename nor servname were passed. Thanx, |
|
||||
|
Duh, dummy me. Yes, after I posted a reply I realized what I should have done. I added the ip address of the secure server to ftpsvr and the name of the secure server for hit-dw. I also tried using the server I was ftping from for ftpsvr and that didn't work either. I got the following error message:
ftp: connect: Connection refused Not connected. Not connected. Not connected. Not connected. |
![]() |
| Bookmarks |
| Tags |
| linux, linux commands, mtime, sftp script, solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|