Attempting to setup a sftp session via batch:
- using SSH2, version 3.0.1 of SSH Secure Shell on solaris 2.6
- Interactive session works with Unix server - the .ssh directory
and files are setup
- Batch script attempting to use password in a parameter file fails
with an i/o error
- Batch script attempting to use the -B option fails with FATAL:
ssh2 client failed to authenticate
- The error text cannot be found in the ssh.com site
- the userid/password combination is probably in the /etc/passwd
file on the remote host (it works interactively)
This is very puzzling - the documentation refers to a
"passphrase" but I am not sure of the meaning and it appears not to be
related to the remote host password. I tried to use sh-add but I
cannot see why that helps if the password is checked by the remote end.
This should be a simple problem but I cannot get my script to work.
Can you help?
|