LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-29-2002, 03:25 PM   #1
FireAge
LQ Newbie
 
Registered: Jun 2002
Location: Groningen, The Netherlands
Distribution: Redhat 7.3
Posts: 13

Rep: Reputation: 0
problem logging in with ssh


I have the following problem:
I have a P120 which I use as a NAT for my @home cable. It's got redhat 7.0 installed because I need ipchains to be able to forward netmeeting video connections for my roommate.
Recently I was having some speed issues, and @home asked me to leave the pc on for 2 whole days. This was fine with me because it was already running 100+ days.
Just to be sure, I turned of sshd and xinetd so nothing could go wrong when @home started doing whatever they were planning on doing.
After a week I turned sshd and xinetd back on, but now I can't connect to my P120 anymore via ssh. I've restarted the sshd several times, but I never found myself able to connect again.
My ipchains settings are not blocking the port.

If anybody has got any ideas on how this could be happening, I would very much like to hear them, because I'm getting tired of having to get a monitor up to the server everytime I need to make some adjustments.

Thanx in advance
Arend
 
Old 06-29-2002, 04:37 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Look into /etc/ssh/sshd_config . Things to check - AllowUsers, DenyUsers etc.
 
Old 06-29-2002, 05:05 PM   #3
FireAge
LQ Newbie
 
Registered: Jun 2002
Location: Groningen, The Netherlands
Distribution: Redhat 7.3
Posts: 13

Original Poster
Rep: Reputation: 0
That is not the problem. Those settings are okay. The problem is the pc is telling me sshd is running, but when I port probe that pc, the sshd port does not show up, so apparently the ssh deamon is not listening on it's port, nor any other for that mather. Are there any other services that need to run in order for sshd to be able to run?
 
Old 06-30-2002, 12:25 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Run
ps -e|grep sshd
to look if it is running. If it is, it may use differnent port than 22 or you may block it using a firewall.
 
Old 07-03-2002, 06:24 PM   #5
moochoo
LQ Newbie
 
Registered: Jul 2002
Posts: 4

Rep: Reputation: 0
That worked thanks a lot man
 
  


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
ssh command logging jcookeman Linux - Security 3 08-26-2008 02:50 AM
[SSH] Issue logging in [SSH & Permissions] MD3 Linux - Networking 11 12-10-2006 09:25 AM
SSH - Logging out r4merlin Linux - Networking 1 11-02-2003 12:50 PM
logging onto SSH robmainella Linux - Newbie 5 08-26-2003 02:21 PM
Chrooting somebody logging into SSH... Grim Reaper Linux - Security 23 12-15-2002 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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