![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Connecting to remote server with Rex using .pem fileby nysus (Parson) |
on Apr 07, 2020 at 14:25 UTC ( #11115164=perlquestion: print w/replies, xml ) | Need Help?? |
nysus has asked for the wisdom of the Perl Monks concerning the following question: I'm stumped trying to figure out how to use Rex to log into a remote server. The server provides me with a .pem file. I have successfully used this file to log in manually using ssh -i PEM_FILE_NAME blah@111.222.222.123. I tried converting it to public key with ssh-keygen -y -f PEM_FILE_NAME > public.key and have the following in my RexFile:
But this isn't working. Not sure what else to try. Thanks.
$PM = "Perl Monk's";
Back to
Seekers of Perl Wisdom
|
|