-
11th April 2011, 03:14 PM
#1
sshd, remote deskop, all inaccessible?
Heya, I've configured remote desktop and sshd, but I'm unable to log in from any other machine. Connecting to localhost (from the same machine) works fine.
I've checked /etc/hosts.allow and /etc/hosts.deny but both didn't contain any rules. I added ALL: ALL to hosts.allow, but still no luck
As far as I can tell, the firewall doesn't contain any rules to block incoming connections either.
Any ideas?
-
11th April 2011, 03:34 PM
#2
Re: sshd, remote deskop, all inaccessible?
Is your router configured properly? Does it forward the needed ports to your computer?
-
11th April 2011, 03:50 PM
#3
Re: sshd, remote deskop, all inaccessible?
Originally Posted by
Miikka
Is your router configured properly? Does it forward the needed ports to your computer?
I was trying to access my machine from another machine in the LAN. Both machines are connected via a switch. Both are in same IP range (192.168.1.0/24).
-
11th April 2011, 03:57 PM
#4
Re: sshd, remote deskop, all inaccessible?
In your sshd_config file, did you add the AllowUsers line?
-
11th April 2011, 08:46 PM
#5
Re: sshd, remote deskop, all inaccessible?
Originally Posted by
motnahp00
In your sshd_config file, did you add the AllowUsers line?
I managed to fix the problem!! But AllowUsers wasn't the problem. The problem was me
I decided to check with wireshark to see what was going on, and I noticed that the machine was responding with ICMP "administratively prohibited". Prior to asking for help here, I had checked with iptables -L but didn't find anything out of the ordinary.
After I disabled the firewall with system-config-firewall, it worked. Will try to figure out how to enable firewall while allowing sshd (it was checked, so I'm guessing it *should* have worked). Most important right now, is that I can log in remotely :-)
Thanks to the both of you who tried to help!
Similar Threads
-
By sumanc in forum Using Fedora
Replies: 9
Last Post: 28th March 2008, 06:37 AM
-
By the_j0k3r in forum Using Fedora
Replies: 4
Last Post: 12th February 2008, 11:14 AM
-
By Nu_ in forum Using Fedora
Replies: 2
Last Post: 16th January 2007, 06:54 AM
-
By hurl380 in forum Using Fedora
Replies: 2
Last Post: 3rd March 2006, 01:55 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
[[template footer(Guest)]]