Hi
how i can setup ssh for using sftp in a script?
When i'm using batchmode i get the following :
sftp -B batchfile
sftp> open host
Opening connection to host
warning: Authentication failed.
Disconnected; no more authentication methods available (No further
authentication methods available.).
FATAL: ssh2 client failed to authenticate. (or you have too old ssh2
installed, check with ssh2 -V)
batchfile is like :
open host
password
is it correct? if no do you have some samples?
and i'm using SSH Secure Shell 3.0.1 on the both machines.
thanks
jean-mathieu
_________________________________________________________________
Téléchargez MSN Explorer gratuitement à l'adresse
http://explorer.msn.fr/intl.asp