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.
In reply to Re^5: Preferred authentication in Net::SFTP::Foreign
by salva
in thread Preferred authentication in Net::SFTP::Foreign
by mithunbh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |