About Me

My photo
London, United Kingdom
SOA tester in London

Tuesday, February 04, 2014

SSH config

SSH config can be really useful , esp when you are logging to multiple linux boxes from a jump server.

Basicaly, you do this.

  • Copy the id_rsa key for the user from the jump box to your mac
  • chmod 600 to id_rsa key
  • go to .ssh and create a file config
  • paste this 

Host test04
  •         HostName machine.broadcast..com
            User inttest
            IdentityFile ~/.ssh/id_rsa_inttest
now you could ssh to Test4 box without logging to jump server.

No comments: