[NTLUG:Discuss] OpenSSH - Newbie Question

Stuart Johnston saj at thecommune.net
Wed Jul 5 16:11:43 CDT 2006


Bobby Sanders wrote:
> On Wed, 2006-07-05 at 14:23 -0500, brian at pongonova.net wrote:
>> Why don't you just assign your internal machines non-routable IP
>> addresses? 
> 
> No real reason. (I'm only concerned with 2 or 3 Linux boxes and a couple
> of Windows machines that connect periodically.)  It just seemed to be
> the most elegant and extensible way to go.
> 
> BTW, I installed SAMBA for the windows machines (use this with the Linux
> machines, too.  No problem in Samba with accessing the servers using
> their names.  Wonder why ssh is so different.

Samba can use a couple of different name resolution methods including 
broadcast resolution.  Basically, it will send out a broadcast message 
to all computers on the network saying "hey, compt2, are you out 
there?".  ssh, on the other hand, probably does name resolution through 
the underlying OS.  A standard Linux setup is only going to use file 
(/etc/hosts) and dns (server) methods.

I'm not sure that the Linksys router supports what you are trying to do 
but then I'm not quite sure I understand exactly how you have things setup.

One thing to try would be using a full domain name, if you have that 
setup.  Also, you might start with something simpler, like ping, for 
testing.

ping compt2.mydomain.com



More information about the Discuss mailing list