[Pdx-pm] Net::SSH::Perl
Robby Russell
robbyrussell at pdxlug.org
Wed Jan 28 18:02:48 CST 2004
I am trying to use Net::SSH::Perl to send ssh commands to a remote
server and it doesn't seem to be connecting.
I am use ssh keys as well, could that be a part of the problem? It
shouldn't prompt for a password as the authorized_keys exist and work
already for typical ssh connection.
[snip]
my $ssh_user = "username";
my $server = "remoteip";
my $ssh = Net::SSH::Perl->new($server);
# login with $ssh_user
if ($ssh->login($ssh_user)) {
...
}
More information about the Pdx-pm-list
mailing list