in reply to Re^11: Send password in Net::SSH::Expect
in thread Send password in Net::SSH::Expect
Now output shows:$hostname =~ s/\r//g;
And the command is doing what it should. To learn is to struggle.Launching [[ssh -q user@host 'sed -i "s#.*HOSTA#ssh-rsa AAAAB3NzaC1yc +root@HOSTA#gI" /tmp/test.txt']] at ./key.pl line 81.
|
|---|