One more thing
Sunday, December 16, 2012
perl experience - ssh implement
my @key = ("/root/.ssh/id_rsa");
my $ssh = Net::SSH::Perl->new($host,
identity_files=>\@key,
# debug => 1
);
$ssh->login('root');
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment