LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I need to allow ssh access (https://www.linuxquestions.org/questions/linux-newbie-8/i-need-to-allow-ssh-access-386526/)

btmiller 11-27-2005 08:21 PM

Do you see the sshd process running when you do "ps aux | grep sshd | grep -v grep"? If not, you need to start it. You must start the sshd as root, so become root and do "/etc/rc.d/init.d/sshd start " and then try the ps command above again to verify it is running. If it is running, you should be able to connect to port 22 noiw (assuming you left the firewall stuff open). If not, you need to check your system log or look at any error messages printed on screen to see what is wrong.

danimalz 11-30-2005 12:10 AM

Seems you're still having troubles...:)

The first thing you need to check is your dsl router. In my previous post i warned you about something called 'port forwarding' - i hope you've read about it.

Anyway, most newer dsl routers have quite sophisticated management interfaces and make this easy. Find out the manufacturer and model. Go to their website and find out how to access and configure the router.

As an aside, there is an interesting dynamic being propagated by major dsl providors - they send you all the hardware via mail, then you just plug it in. This saves them tons of tech support costs, but puts you at risk, because most of the routers are set up very security-loose. I'll bet that 90% of the routers used in homes today still are set to the default administrative password for example.

If you are asking these types of questions, then i'd bet if you gave me your real IP address I could get in and configure it for you ... :)

Nontheless, back to your problem. You need to verify whether the router is allowing connections to port 22. If it is not, you'll need to open it up by forwarding port 22 connections to the machine you're running sshd on. This is normally done by accessing the router (usually at 192.168.1.1) with a web browser. You'll need to ensure you're useing a static IP address on the sshd machine. Even better, turn off dhcp at the router altogether if you don't have a large number of computers, or come-and-go wireless machines.

Once you are sure that the router is sending ssh requests to the proper IP address, then you can figure out the firewall and other issues on that machine.

Yeah, it's involved and complicated (not really). But, I've learned everything I know from mostly reading available resources on the net. Im encouraging you (again) to do this for yourself too. It shouldnt be taking you this long to figure out what the problem is here.

cheers, keep at it,
Danimal


All times are GMT -5. The time now is 03:05 AM.