Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Ssh Connection Problems, trouble connecting to port 22 remotely
alan645
post Aug 4 2003, 02:06 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 4-August 03
Member No.: 1,196



Hello, I have a server setup with ssh listening on port 22. My server is protected with iptables which allows access to port 22. When on the network, I don't have a problem connecting, but outside of the network, I can't ssh in. I've setup the server as a DMZ host to debug, but still can't get through. On the same network PCAnywhere is connecting to a windows server. Any ideas on what might be the problem?
Go to the top of the page
 
+Quote Post
Joey
post Aug 4 2003, 02:07 PM
Post #2


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



Can you bring down the firewall and try connecting? If it connects then there is a problem with your IPTables.

As well you might want to check the sshd_config file to ensure that you have the proper IP's allowed.
Go to the top of the page
 
+Quote Post
alan645
post Aug 4 2003, 07:34 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 4-August 03
Member No.: 1,196



Thanks for the quick response joey,

I went and got the server so I can work on it locally, and shutdown iptables. I still couldn't connect from outside the LAN. When I do a port scan from outside the LAN the server doesn't respond at any port. Is there a program other than iptables which might install with RedHat 9.0 that would allow access from inside the LAN but block everything else?

Just some extra info, setting up a windows computer as dmz host and portscanning the network shows the ports that that the windows server is supposed to have open/closed, so it has something to do with my server. I'm shutting down iptables with the /etc/init.d/iptables stop command, is that right? I did take a look at sshd_config, everything looked kosher. I've also looked at /etc/hosts.allow and /etc/hosts.deny, they're empty, so from what I understand, they'll allow any host to connect.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2017 - 12:09 PM