SSH/Names

Empty plug at emptiedout.com
Mon May 29 12:16:51 MST 2006


KevinO wrote:
> It is a matter of DNS resolution -- the resolving of names into IP
> addresses. The 'proper' way to do this is to use valid and 'fully
> qualified' names, and make sure that DNS is setup and works for them.
> The easy way to do this is by entries in the /etc/hosts file (on the
> client), as was described in an earlier email.

And the "Other" way to do this, that just affects ssh, is in the
~/.ssh/config file:

Host mailtunnel
Hostname server004.mycluster.foo
LocalForward 9110 mail.myhost.foo:110
LocalForward 9025 mail.myhost.foo:25
User benb

That sets up port forwarding for tunneled POP3/SMTP also.

~Ben

-- 
---
"Confession only helps if you actually feel bad for your actions.
For you, it would just be a really long boast."
	-Tara
http://www.emptiedout.com


More information about the PLUG-discuss mailing list