- or download this
my %SSH_Prm = (
"protocol" => '2',
...
my $ssh = Net::SSH::Perl->new($server,%SSH_Prm);
$ssh->login("deploy");
my ($out,$err,$exit) = $ssh->cmd("/usr/bin/sudo $command");
- or download this
server.domain.net: Authentication methods that can continue: publickey
+.
server.domain.net: Next method to try is publickey.
...
server.domain.net: Authentication methods that can continue: publickey
+.
server.domain.net: Next method to try is publickey.
Permission denied at ./start_tomcat_remote line 88
- or download this
ssh -vv -i /home/user/.ssh/id_rsa deploy@server.domain.net
...
debug1: Offering public key: /home/user/.ssh/id_rsa
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-rsa blen 277