in reply to Where is documenation for defining servers for use by Rex?
from the documentation of Rex::Commands :
key_auth If you want to use pubkey authentication, then you need to call key_au +th. user "bob"; private_key "/home/bob/.ssh/id_rsa"; # passphrase-less key public_key "/home/bob/.ssh/id_rsa.pub"; key_auth;
perhaps you need this then?:
group "servers", "server_big" => { user => 'my_user', private_key => ' +/home/user/key.pem', key_auth => 1 };
or something to that effect.
bw, bliako
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Where is documenation for defining servers for use by Rex?
by nysus (Parson) on Apr 08, 2020 at 12:31 UTC | |
by Anonymous Monk on Apr 08, 2020 at 12:47 UTC | |
by Anonymous Monk on Apr 08, 2020 at 12:50 UTC |
In Section
Seekers of Perl Wisdom