Re: ssh - cannot log in

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, I do understand that there is an internal and an external address. I want to force my workstation to have the internal address 192.168.1.140 so that my router will forward port 22 to the right machine - it's set up to do that so that my windows stuff works.  Can I make Fedora assign a specific internal address? Because interally I'm not always at 192.168.1.2; it seems to depend on which machine logs in first.

I'd be happy to do any reading - can you point me at the right doc? I've searched a lot but haven't got the right keywords or fully understood some of what I've read....

----- Original Message ----
From: Steve Searle <steve@xxxxxxxxxxxxxxx>
To: For users of Fedora <fedora-list@xxxxxxxxxx>
Sent: Wednesday, June 27, 2007 1:44:28 PM
Subject: Re: ssh - cannot log in

Around 03:20pm on Wednesday, June 27, 2007 (UK time), David Katz scrawled:

> I think you have identified at least part of my problem:
> 
> ifconfig says that my workstation is 192.168.1.2. To match my router's settings, I need it to be 192.168.1.140. Can I just:
> 
> ifconfig eth0 192.168.1.140

No - I think you need to do some more reading.  192.168.1.n is an
address on your internal network - and cannot be reached from the
internet.  Your router will have two addresses, an internal one
(192.168.1.40 I assume) and an external one that is not itn the
192.168.1.n range.

I assume you are trying to run putty on a machine that is not on your
local network, i.e. over the Internet.  If so, you should be connecting
to the external IP address, and you need to log onto your router and set
ok for a way of setting up prot forwarding, and then forward port 22
packets that come into your router to 192.168.1.2 (your workstation).

This wil only work if your ISP isn't blocking port 22.

Steve

-- 

A:  Because it messes up the order in which people normally read text.
Q:  Why is top-posting a bad thing?

 21:39:26 up 2 days,  1:19,  0 users,  load average: 0.00, 0.00, 0.00

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux