[Wolves] [INFO] How do you ssh around a router?

Andy Smith andy at lug.org.uk
Mon May 7 21:51:51 BST 2007


On Mon, May 07, 2007 at 09:39:35PM +0100, David Morley wrote:
> If the router is 192.168.1.1 and the pc you want to ssh to is
> 192.168.1.2. What is the way the command should be phrased in order to
> ssh into the pc please?

What IP are you SSHing from?  Normally if you are on the same
network as the target then your traffic won't go through a router at
all.

If you mean from outside, we would have to know more about your
network setup.  192.168.*.* addresses are not globally routable so
you would generally need to use NAT to forward a port on your router
to port 22 of 192.168.1.2 for example.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting
Encrypted mail welcome - keyid 0x604DE5DB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.lug.org.uk/pipermail/wolves/attachments/20070507/8c12ffda/attachment.bin


More information about the Wolves mailing list