De Wiki inetshell
Saltar a: navegación, buscar

http://nerderati.com/2011/03/17/simplify-your-life-with-an-ssh-config-file/

~/.ssh/config

Host server1
	Hostname 192.168.0.2
	Port 24
	User root
Host server2
	Hostname 192.168.0.2
	Port 22
	User will
	IdentityFile ~/will_ssh_key
	LocalForward 3306 127.0.0.1:3306
	LocalForward 8080 127.0.0.1:8080
	ServerAliveInterval 30
	ServerAliveCountMax 3