in reply to Re^4: Preferred authentication in Net::SFTP::Foreign
in thread Preferred authentication in Net::SFTP::Foreign
I can't hardcode the PreferredAuthentication since it is host specific and we do have a properly configured .ssh/config file with the appropriate Host specific overrides.
PreferredAuthentication is usually quite unimportant, as long as you include all the authentication schemes that could be required by the server it should work. There is no need to match exactly the server configuration there.
What do you get from the following command?
grep -i preferredauthentications ~/.ssh/config | sort -u
For Net::SFTP::Foreign, the important thing is knowing which servers require password authentication and which one don't.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Preferred authentication in Net::SFTP::Foreign
by mithunbh (Novice) on Feb 11, 2016 at 23:42 UTC |