Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: Red Hat 8.0 (Home), Red Hat 8.0 (Work)
I know I am lazy but...
Can someone tell me in short what I need to do to enable my machine at work to accept ssh logins? At the moment I can not log in from anywhere else, it just says connection refused. I am using RH7.3, and I didn't configure any firewalls or anything, although I may be going through a firewall of the university. I am pretty sure that it is a local setting on the machine though. Where would it be?
check your connection first. ping your remote machine and see if your local machine can reach the remote one. It is possible that the firewall is blocking all incoming connections to your remote machine.
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Edit /etc/hosts.allow and hosts.deny. If you know what you are doing then you can put ALL:ALL in hosts.deny and add SSHD:<yourhost> to hosts.allow or else, if you are not sure then leave hosts deny how it is and just edit hosts.allow adding your IP to SSHD. or just ALL:<yourhost> to be able to access all services form <yourhost>
There are man pages for these files as well i beleive.
Hope that helps
Originally posted by Vlad_M I did that already, it was also my first thought. But I can ping the machine no problem, so it is the way that my machine is configured that is blocking all the ssh connections.
Any idea where I can change that?
Check whether your xinetd has ssh enabled = true :}