Posted on 2009-02-19 12:36:58-08 by urapvr
known hosts fingerprint authentication problem during login
I am using Net SFTP Foreign for logging using a username/password( I must use for my requirement) But if use my $sftp=Net::SFTP::Foreign-<new($host, user =< "$user", password =< "$password") For the first time, if sftp login is used from client to server, it will ask for fingerprint authentication (yes/no), but i think its not implemented in this package So this login got stuck. after i do a manual sftp login from client to server client<< sftp server It asks for fingerprint authentication ..Are you sure do you want to add "server" to known hosts (yes/no): yes after i gave yes, it went; also the package works.. but if the server is not in the known hosts of the client, this package got stuck Is there any parameter to config this ?? Please help me..
Direct Responses: 10633 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.