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

David Morley davmor2 at gmail.com
Mon May 7 21:56:42 BST 2007


On 07/05/07, Andy Smith <andy at lug.org.uk> wrote:
> 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
>
Yes sorry not very clear.  I won't to ssh into a machine at home from
where ever I am at the time.


-- 
Seek That Thy Might Know



More information about the Wolves mailing list