Originally posted by: Adul
i cant seem to get it to work outside of my local machine 🙁
port 22 is allowed through shorewall
hosts.allow has the ip range that the user is trying to connect from
hosts.deny deny all exept 127.0.0.1
any suggestions?
i get host closed connect when i try to connect via ssh
Originally posted by: CyGoR
Originally posted by: Adul
i cant seem to get it to work outside of my local machine 🙁
port 22 is allowed through shorewall
hosts.allow has the ip range that the user is trying to connect from
hosts.deny deny all exept 127.0.0.1
any suggestions?
i get host closed connect when i try to connect via ssh
I don't know much about the host.deny file, but when it says "deny all exept 127.0.0.1" then it will block all connections EXEPT 127.0.0.1??
So it's obvious it will block the IP from your friends pc..
Do you have any other pc on the local network from where you can try to connect to?
I think the problem lies in the host.deny file.. you can experiment ofcourse by editing it..
Good luck!
Originally posted by: CyGoR
cool 🙂
You can ofcourse create the host.deny again and say: Deny all exept (friends IP etc)
Shouldn't you be a lifer by now with all those posts??? :Q:Q
So WTF happened? Poof?ACCESS CONTROL FILES
The access control software consults two files. The search
stops at the first match:
· Access will be granted when a (daemon,client) pair
matches an entry in the /etc/hosts.allow file.
· Otherwise, access will be denied when a (dae
mon,client) pair matches an entry in the
/etc/hosts.deny file.
· Otherwise, access will be granted.
A non-existing access control file is treated as if it
were an empty file. Thus, access control can be turned off
by providing no access control files.