|
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..
|