Tag Info

New answers tagged

0

Ok so what I am is creating a folder named "infra1" then store the relative new ssh key pair in that folder. And pass the key to the authorized key file on "infra1". That way I avoid groups and not as easy to just ssh as normal to an infrastructure server. "ssh -i /root/.ssh/infra/InfraServer1/Infraserver1 Infraserver1" Thanks for the help Jeroen!


0

I guess you can just do something like "ssh user@server 'ssh -i /path/to/pubkey user@server2'" and create aliases to that command to make it easier to work with.



Top 50 recent answers are included