Try Documentalist,
my app that offers fast, offline access to 190+ programmer API docs.
links
- http://blog.trackets.com/2014/05/17/ssh-tunnel-local-and-remote-port-forwarding-explained-with-examples.html
- http://www.augustcouncil.com/~tgibson/tutorial/tunneling_tutorial.html
- http://www.revsys.com/writings/quicktips/ssh-tunnel.html
- http://martin.kleppmann.com/2013/05/24/improving-security-of-ssh-private-keys.html
- http://superuser.com/questions/588591/how-to-make-ssh-tunnel-open-to-public
- http://blog.tjll.net/ssh-kung-fu/, https://news.ycombinator.com/item?id=7658459
- http://serversforhackers.com/editions/2014/07/01/ssh-tricks/, https://news.ycombinator.com/item?id=7973202
- http://thornelabs.net/2013/08/21/simple-ways-to-send-multiple-line-commands-over-ssh.html
ssh config file
On Mac it's
~/.ssh/config
and can be used to set various parameters, for example
ForwardAgent yes
ServerAliveInterval 60
ServerAliveCountMax 120
Host github.com
IdentityFile ~/.ssh/dsa_github
Host blog-ssh.kowalczyk.info
User blog
Port 1355 # set custom port
prevent ssh timeouts
on mac, add to
~/.ssh/config
file:
ServerAliveInterval 60
ServerAliveCountMax 120
port forwarding
ssh -i ./id_rsa -f [email protected] -L 4406:138.68.237.61:3306 -N
: port forward local port 4406 to remote 3306- -f : runs in background, have to then kill ssh process
- -N : don't execute any commands
managing ssh keys
ssh-add -K ~/.ssh/key_rsa
: this makes openssh understand the key