ssh magic

Posted by edoput 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
ssh magic
November 08, 2015 01:46PM
Hello,

thought it would be nice to share.

This entry in my
.ssh/config
make it easy to log in the piratebox without too much effort
Host piratebox
              User root
              HostName 192.168.1.1

now the login process is just
ssh piratebox
and enter password.

You can add your ssh key to the PirateBox and add this line to the previous entry to make it even easier

Host piratebox
              User root
              HostName 192.168.1.1
              IdentityFile ~/.ssh/my_ssh_key_rsa