Sshconfig
From Attie's Wiki
(Difference between revisions)
m |
m |
||
Line 7: | Line 7: | ||
User attie | User attie | ||
IdentityFile ~/.ssh/attie@dev.example.com | IdentityFile ~/.ssh/attie@dev.example.com | ||
+ | LocalForward 9906 127.0.0.1:3306 | ||
</source> | </source> |
Revision as of 14:33, 26 September 2013
The following is an example ~/.ssh/config
file.
Host dev HostName dev.example.com Port 22000 User attie IdentityFile ~/.ssh/attie@dev.example.com LocalForward 9906 127.0.0.1:3306