Useful tricks for getting the most out of your SSH session.
$ ssh-keygen -b 4096
Add this to your
Host ncp User REPLACEMEWITHYOURUSERNAME Hostname IP.ADD.RES.S PreferredAuthentications publickey IdentityFile ~/.ssh/ncp
If your SSH pub key (
~/.ssh/ncp.pub) has been added to
IPADDRESS:~/.ssh/authorized_keys, you should now be able to shell in by typing
$ ssh ncp
…and thanks to the
~/.ssh/config entry, the name of the server you’re trying to SSH into – namely
ncp in this case – should autocomplete!