Hi Guys,
i am fairly new to the linux world, and have self taught my self as much as i can, however i have a Centos5 server (not setup by me) i am trying to connect to. if i use PuTTY from my machine using SSH it works fine, and any user that connects from my machine or (i Believe) a machine in a specified subnet works great. but any machine out side that subnet gets "Fatal Error: server unexpectedly closed network connection" which is now needed. The origional admin is no longer available so i do not know how he setup ssh. i was hoping someone could point me in the right direction, for some reason i am having a hard time grasping SSH. Thanks in advance for any help.
/var/log/secure
Aug 11 10:15:37 refine sshd[7034]: refused connect from ::ffff:10.10.45.78 (::ffff:10.10.45.78)
iptables are not setup
sudo ./iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
SSHD refused connection
Re: SSHD refused connection
lol, never mind,
Turns out there is a file called hosts.allow in the /etc directory. once i added the subnet to that file it worked perfectly.
Thanks anyways
hope this helps someone else.
Turns out there is a file called hosts.allow in the /etc directory. once i added the subnet to that file it worked perfectly.
Thanks anyways
hope this helps someone else.
Re: SSHD refused connection
thay you bergie, that was also part of my problem. instead of connection refused, now im dealing with public key failures..
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: SSHD refused connection
Don't hijack a 4 year old thread with a different problem.