[PLUG] Getting ssh working again

Rich Shepard rshepard at appl-ecosys.com
Wed Apr 30 08:41:02 UTC 2003


On Tue, 29 Apr 2003, Kyle Accardi wrote:

> Are you not using dhcp at home?

  Nope. /etc/hosts on each host.

> Either way, how about creating a small script (or X launcher) for both
> kinds of connections?
> 
> from_road.sh
> #!/bin/sh
> # I'm on the road
> /usr/bin/ssh -f me at myisp.com xterm
> 
> from_home.sh
> #!/bin/sh
> #I'm home
> /usr/bin/ssh -f mylan xterm

  I suspect that this won't work. When I use the local IP addresses I can
get into the two workstations, when I try their names ssh resolves them to
the external IP address. Perhaps it's using the DNS server at my ISP.

  What puzzles me about this situation is that I regularly ssh between the
two workstations, addressing each by host name, 'salmo' and 'caddis'. Since
we're all on the same lan here, I don't understand why I cannot do the same
from 'lemna'.

  Could this have anything to do with where sshd is running -- or not
running?

Thanks,

Rich

Dr. Richard B. Shepard, President

                       Applied Ecosystem Services, Inc. (TM)
            2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com
                         http://www.appl-ecosys.com/





More information about the PLUG mailing list