LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-28-2004, 05:19 PM   #1
babyboss
Member
 
Registered: Sep 2004
Posts: 124

Rep: Reputation: 15
Trying to make my sshd service to work. Help please!


I just install fedora core 2 and tried to remote control my computer. I believe that I already install my sshd and start sshd at the boot time, but the bad news is that I can't remote login to my computer. My use shaw cable high speed internet and I also have a linksys router.
What else configuration do I have to make?
I use ntsysc to closed most services that I don't really need and I left ssh services on. Would shutting down all my services but only leave my ssh service on affect my chance to connect to my box from the outside?
 
Old 10-28-2004, 05:33 PM   #2
slide-rule
Member
 
Registered: Jan 2004
Location: New England area, US
Distribution: Mandrake 9.2
Posts: 39

Rep: Reputation: 15
You question doesn't make it clear if your problem is entirely local (two machines connected by your home router, and you can't connect from A to B) or whether it is entirely remote (attempting ssh connection across the internet through your ISP.) For the latter case, it is possible, if you're sure you've done all the right things, that your upstream provider (ISP) is blocking connections to the normal ssh port (22) on your system. If this is what is happening, you might can try running sshd on a different port than the default one, but you'll of course have to give this new port number in your ssh connect attempt from the other side.

At any rate, please clarify where the problem is. =)
 
Old 10-28-2004, 05:42 PM   #3
babyboss
Member
 
Registered: Sep 2004
Posts: 124

Original Poster
Rep: Reputation: 15
Sorry about that I did not make my problem clear. My sshd works if I tried to internally remote control. It does not work when I tried externally remote control. I believe that my ISP didn't block port 22 becuase I used to install Slackware 10.0 and the port 22 works when ssh
 
Old 10-28-2004, 09:09 PM   #4
slide-rule
Member
 
Registered: Jan 2004
Location: New England area, US
Distribution: Mandrake 9.2
Posts: 39

Rep: Reputation: 15
You mentioned that you closed down many/most services. Is there a firewall service running on the box that is rejected connection attempts? I'm not sure which one RH FC uses... likely 'iptables'. If not that, 'ipchains' or 'shorewall' might be culprits. If such a firewall is running, the quick check is to turn it off to test. HOWEVER, the correct solution is to allow ssh connections through the firewall (meaning, you configure the firewall to permit TCP connections from anywhere coming in to port 22). That'd be the next simple thing to check for.
 
  


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
sshd doesn`t work TiCkO Linux - Networking 12 02-11-2006 05:00 PM
Make sshd answer only on a certain hostname ? michaelsanford Linux - Security 3 07-18-2005 03:19 PM
How do I make something a system service? sloik2000 Linux - Software 3 03-25-2005 03:16 PM
service command not working for starting sshd naijaguy Linux - Newbie 4 09-03-2004 11:49 AM
I can't make sshd like my config file Travis86 Linux - Networking 5 07-28-2003 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 03: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