#25089 1363077870.00000 _do_io: _do_io select(-,-,-, undef)
#25089 1363077870.00000 _do_io: _do_io read sysread: 27, total read: 2
+8, $!:
50 6c 65 61 73 65 20 74 79 70 65 20 27 79 65 73 27 20 6f 72 20 27 6e 6
+f 27 3a 20 | Please type 'yes' or 'no':
#25089 1363077870.00000 _set_status: _set_status code: 5, str: Bad mes
+sage
First off, you haven't shown us any Perl code for us to see what you are attempting to do.
That said: I have quoted some of the trace that you supplied and in there is the smoking gun so to speak. It would appear that serverB is not in the known_hosts file for the userid that is running the script. Very simple fix:
- Log in as the userid that is running the script
- SSH from that userid to hostB as the userid SFTP is logging in as.
- When SSH asks you to accept the key say "yes."
That will cause the known_hosts file to be populated with the public key of the remote host
Works fine... lasta a long time...
Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg