LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-31-2001, 06:14 PM   #1
zhenwu
Member
 
Registered: Jul 2001
Location: Taiwan (ex-Victoria BC)
Distribution: RH 9.0
Posts: 126

Rep: Reputation: 15
arrrgh, what the ?


Ok, I probably don't deserve anyone's help for this sort of stupid situation, but I'm asking anyway.

When I installed RH 7.1 I set up ssh, shut off telnet etc. About a week ago I logged in from another city just fine, and I was snooping around and I pico'd a file (and darn it, I can't remember which file.... ). The connection then sort of hung, I couldn't do anything with the term window, so I just Alt-F4'd it.

Now I can't connect remotely at all. Doing a port scan tells me that port 22 is closed, even though I know that sshd is running.

Could anyone tell me where to look that might tell me what is going on? Even though it is 7.1, I'm running ipchains (not iptables).
 
Old 08-01-2001, 03:02 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,446
Blog Entries: 54

Rep: Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890
if the connection hung while editing, there should be a pico tempfile floating around w/o the last changes saved... search for it.
if it aint, then u gotta work ure way tru
- sshd, cat the sshd.log (if any) and look for failed starts and/or failed logins, or start it manually and see if it *really* comes up, sshd configs, see if ure allowed login by account (or *), IP or range, also check for options that disallow other type of identification methods (like when u havent got the identity added remotely)
- (x)inetd.conf and tcpwrappers' hosts.deny/allow if running sshd tru (x)inetd
- ipchains/temporary rules added by some IDS
- the account itself, is it enabled etc (hope ure not logging in as root)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
True Command Line...arrrgh help hitman_et Linux - Newbie 7 10-31-2004 06:10 AM


All times are GMT -5. The time now is 12:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration