Simon Griffee · Time, light, movement & distance.

SSH Kung Fu ➶

28 April 2014

Public-Key Cryptography

This is kind of a prerequisite for supercharging ssh usage. It’s a pretty straightforward concept:

Sound good? Let’s do it:

$ ssh-keygen -t rsa
$ cat ~/.ssh/
... your public key here ...

Paste that into the ~/.ssh/authorized_keys file of any server account you need to log in to, then any subsequent

$ ssh user@host

Will be automatic. Now you’re prepared to really make ssh useful.

And the lightweight proxy trick is great.

See also: SSH Tunnel - Local and Remote Port Forwarding Explained With Examples.