in reply to
Net-SFTP-Foreign not reading /etc/hosts file?
There is a space after remote.server.com in your error message. Could it be the cause of the problem?
Comment on
Re: Net-SFTP-Foreign not reading /etc/hosts file?
In Section
Seekers of Perl Wisdom