![]() |
|
|
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 |
| conversion | infyanurag | Shell Programming and Scripting | 3 | 06-02-2008 02:04 AM |
| .xls to .csv conversion | neil546 | Shell Programming and Scripting | 7 | 07-17-2007 04:55 AM |
| FTP to SFTP conversion | shihabvk | Shell Programming and Scripting | 0 | 03-28-2007 07:05 AM |
| Hex Conversion | insania | Shell Programming and Scripting | 2 | 03-20-2007 03:15 PM |
| conversion | rajan_ka1 | UNIX for Advanced & Expert Users | 1 | 03-14-2006 07:56 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
FTP to SFTP conversion
Hi,
I have the following ftp code to check the status of communication channel : /bin/ftp -i -v -n -B 64 $HOST <<END 2>&1 > $LOGFILE user $user $password bye END I need to re write exactly the same way with SFTP using authentication keys, I know how to do SFTP with authentication keys. But my problem is, when the authentication fails, it asks for the password, which I dont want, else I need to write the error in the $LOGFILE. Could you please explain me how to do it, without using script file for SFTP Regards Shihab |
|
|||||
|
Please review our rules and note:
(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post or send a private message where your goal is to get an answer more quickly. |
|
||||
|
Quote:
|
|
||||
|
SFTP ssh_config File not working
Thanks awk , for the link, it gave me lot of information.
I have one more issue, When I am trying to connect using sftp for the first time, it gives me error : The authenticity of host can't be established RSA key fingerprint is abd:adfasd Are you sure you want to continue connecting (yes/no)? now when I say yes, it connects and enters the entry in the known_hosts file.I dont want this to happen, as I need to automate every thing, without any user intervension. How is it possible? I created a config file and connected with that sftp -F /home/shihab/ssh_config user@IP . still not working also i tried with this also : sftp -oCheckHostIP=yes -o HashKnownHosts=no user@IP but no hope am i wrong any where? Can anybody help me. Thanks Shihab |
|
||||
|
Quote:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|