Re: [Ssh-sftp-perl-users] Host vs Hostname in SFTP
Brought to you by:
dbrobins
|
From: Dave R. <au...@ur...> - 2004-06-02 22:00:13
|
On Fri, 28 May 2004, Serguei Moukhine wrote:
> Am I doing something wrong? It looks like Net::SFTP does not recognize Host
> from ~/.ssh/config file.
>
> Should I always do something like this?
> $sftp = Net::SFTP->new('ctsapu001',(debug => 1, user => 'ace_event'));
I think so.
> =================================================
> $sftp = Net::SFTP->new('ACE1',debug => 1);
> =================================================
>
> cdvapu001: Reading configuration data /export/home/ace_event/.ssh/config
> cdvapu001: Reading configuration data /etc/ssh_config
> Net::SSH: Bad host name: ACE1 at
> /opt/fs_autosys/lib/perl/lib/site_perl/5.6.1/Net/SFTP.pm line 36
I don't think the code currently does a lookup in the config file for the
hostname passed as the first arg.
-dave
/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/
|