Doing things with stuff
Archive for October, 2014
Upload ssh key to a server for easy access
05 years
by Stas Zytkiewicz
in Linux
cat .ssh/id_rsa.pub | ssh hostname 'cat >> ~/.ssh/authorized_keys'
ssh tunnel to a postgres dbase running on a remote server
05 years
by Stas Zytkiewicz
in Linux
When wanting to access a remote running postgres dbase I always forget the correct command to set up a ssh tunnel.
ssh -L 65432:localhost:5432 user@server
Recent Comments