Networking Forums

Networking Forums > Computer Networking > Linux Networking > Remote SSH

Reply
 
 
Bahjah
Guest
Posts: n/a

 
      01-25-2004, 03:39 PM
I'm running Redhat Advanced 2.1. I need to allow SSH remote logins. I've
(temporarily) placed ALL:ALL in the hosts.allow file. Yet I still cannot
get a remote login. I can login from the LAN fine, but not from accross the
net. Firewall port 22 is open.

Any help appreciated.
bahjah (Tim)


 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      01-25-2004, 04:19 PM
On Sun, 25 Jan 2004 10:39:00 -0600, Bahjah wrote:
> I'm running Redhat Advanced 2.1. I need to allow SSH remote logins. I've
> (temporarily) placed ALL:ALL in the hosts.allow file. Yet I still cannot
> get a remote login. I can login from the LAN fine, but not from accross the
> net. Firewall port 22 is open.


sshd running or have you modifed /etc/xinetd.d/sshd-xinetd
 
Reply With Quote
 
Grant Edwards
Guest
Posts: n/a

 
      01-25-2004, 04:35 PM
In article <(E-Mail Removed)>, Bit Twister wrote:

>> I'm running Redhat Advanced 2.1. I need to allow SSH remote logins. I've
>> (temporarily) placed ALL:ALL in the hosts.allow file. Yet I still cannot
>> get a remote login. I can login from the LAN fine, but not from accross the
>> net. Firewall port 22 is open.

>
> sshd running or have you modifed /etc/xinetd.d/sshd-xinetd


If that was the problem, he wouldn't be able to log in from his
LAN either.

--
Grant Edwards grante Yow! FROZEN ENTREES may
at be flung by members of
visi.com opposing SWANSON SECTS...
 
Reply With Quote
 
Bit Twister
Guest
Posts: n/a

 
      01-25-2004, 04:47 PM
On 25 Jan 2004 17:35:56 GMT, Grant Edwards wrote:
> In article <(E-Mail Removed)>, Bit Twister wrote:
>
>>> I'm running Redhat Advanced 2.1. I need to allow SSH remote logins. I've
>>> (temporarily) placed ALL:ALL in the hosts.allow file. Yet I still cannot
>>> get a remote login. I can login from the LAN fine, but not from accross the
>>> net. Firewall port 22 is open.

>>
>> sshd running or have you modifed /etc/xinetd.d/sshd-xinetd

>
> If that was the problem, he wouldn't be able to log in from his
> LAN either.


True, true, I assumed he was sshing into the lan box, which worked, not the
firewall box. I do not know how he would be able to address a lan
box from accross the internet. Opening port 22 would allow a login
into the firewall box not the lan box.
 
Reply With Quote
 
General Schvantzkoph
Guest
Posts: n/a

 
      01-25-2004, 04:48 PM
On Sun, 25 Jan 2004 10:39:00 -0600, Bahjah wrote:

> I'm running Redhat Advanced 2.1. I need to allow SSH remote logins. I've
> (temporarily) placed ALL:ALL in the hosts.allow file. Yet I still cannot
> get a remote login. I can login from the LAN fine, but not from accross the
> net. Firewall port 22 is open.
>
> Any help appreciated.
> bahjah (Tim)


Do you have both TCP and UDP port forwarding enabled on port 22 on your
router? Is port 22 forwarded to the correct IP address?

 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      01-25-2004, 05:10 PM
Bit Twister <(E-Mail Removed)> wrote:
> On Sun, 25 Jan 2004 10:39:00 -0600, Bahjah wrote:
> > I'm running Redhat Advanced 2.1. I need to allow SSH remote logins. I've
> > (temporarily) placed ALL:ALL in the hosts.allow file. Yet I still cannot
> > get a remote login. I can login from the LAN fine, but not from accross the
> > net. Firewall port 22 is open.


> sshd running or have you modifed /etc/xinetd.d/sshd-xinetd


Mh, only a idiot would run sshd from (x)inetd. Guess it's his
outbound router firewall, which doesn't allow&port (22) forward
or/and NAT ssh requests to his system

--
Michael Heiming

Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of SPAM
 
Reply With Quote
 
charteer
Guest
Posts: n/a

 
      01-25-2004, 05:52 PM
There's really not two boxes. Theres a hardware firewall on the wan port
that is forwarding port 22 to to the linux box in question.

"Bit Twister" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On 25 Jan 2004 17:35:56 GMT, Grant Edwards wrote:
> > In article <(E-Mail Removed)>, Bit Twister

wrote:
> >
> >>> I'm running Redhat Advanced 2.1. I need to allow SSH remote logins.

I've
> >>> (temporarily) placed ALL:ALL in the hosts.allow file. Yet I still

cannot
> >>> get a remote login. I can login from the LAN fine, but not from

accross the
> >>> net. Firewall port 22 is open.
> >>
> >> sshd running or have you modifed /etc/xinetd.d/sshd-xinetd

> >
> > If that was the problem, he wouldn't be able to log in from his
> > LAN either.

>
> True, true, I assumed he was sshing into the lan box, which worked, not

the
> firewall box. I do not know how he would be able to address a lan
> box from accross the internet. Opening port 22 would allow a login
> into the firewall box not the lan box.



 
Reply With Quote
 
charteer
Guest
Posts: n/a

 
      01-25-2004, 06:29 PM
Best I can tell, the firewall has port 22 open and is being forward to the
right box. However, I can't see anything in the Linux messages log to
suggest it's denying my login.

The response I am getting on the SSH client is winsock error, connecting
refused.

Any help appreciated.

Tim

"General Schvantzkoph" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> On Sun, 25 Jan 2004 10:39:00 -0600, Bahjah wrote:
>
> > I'm running Redhat Advanced 2.1. I need to allow SSH remote logins.

I've
> > (temporarily) placed ALL:ALL in the hosts.allow file. Yet I still

cannot
> > get a remote login. I can login from the LAN fine, but not from accross

the
> > net. Firewall port 22 is open.
> >
> > Any help appreciated.
> > bahjah (Tim)

>
> Do you have both TCP and UDP port forwarding enabled on port 22 on your
> router? Is port 22 forwarded to the correct IP address?
>



 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      01-25-2004, 10:40 PM
charteer <(E-Mail Removed)> wrote:
> There's really not two boxes. Theres a hardware firewall on the wan port
> that is forwarding port 22 to to the linux box in question.


Try as root:

tcpdump -i eth0 port 22

Replace eth0 with your NIC and try connecting via ssh, now you
should see packets coming or your router isn't configured
probably or you don't get out of your ISPs network on port 22.

Try 'man tcpdump' for more options.

BTW
Please stop top-posting.

--
Michael Heiming

Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of SPAM
 
Reply With Quote
 
Bill Unruh
Guest
Posts: n/a

 
      01-26-2004, 03:53 AM
"Bahjah" <(E-Mail Removed)> writes:

]I'm running Redhat Advanced 2.1. I need to allow SSH remote logins. I've
](temporarily) placed ALL:ALL in the hosts.allow file. Yet I still cannot
]get a remote login. I can login from the LAN fine, but not from accross the
]net. Firewall port 22 is open.

]Any help appreciated.
]bahjah (Tim)
Look in y our log files to see what is happening.
Sounds like firewall problems.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Desktop: The client could not connect to the remote compute crazyglue Windows Networking 6 02-24-2009 08:26 AM
routing and remote access & remote desktop connection SJMP Windows Networking 1 10-22-2008 01:55 PM
Local Remote Desktop, no Remote Web? John Baumann Windows Networking 4 09-18-2007 01:42 PM
Remote desktop, allow remote connections for some but deny remote for others steve Windows Networking 4 06-19-2007 01:35 PM
remote desktop with routing and remote access Marcus \(Cascom\) Windows Networking 3 01-17-2004 05:15 PM



1 2 3 4 5 6 7 8 9 10 11