LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-27-2005, 07:21 PM   #16
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378

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.
 
Old 11-29-2005, 11:10 PM   #17
danimalz
Member
 
Registered: Jul 2005
Location: West Coast South, USA
Distribution: debian 3.1
Posts: 267

Rep: Reputation: 36
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
allow access to ssh with dynamic ip lumbrjackedpcj Linux - Security 1 01-09-2005 02:08 PM
Denying access to SSH but allow access to FTP nemesisza Linux - Security 5 03-14-2004 10:25 PM
Restricting SSH Access ErocM Linux - Security 4 02-20-2004 10:52 AM
Is Restricted SSH Access Possible? retep Linux - Security 2 09-27-2003 11:35 PM
msec4 and no more SSH access bluediver Linux - Security 4 10-13-2002 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration