LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-13-2003, 10:44 AM   #1
emetib
Member
 
Registered: Feb 2003
Posts: 482

Rep: Reputation: 33
ssh question


ok, now that i'm diving deeper into ssh i have now come across something that is screwing me.

ssh_exchange_identification: Connection closed by remote host

has anyone seen this before, and if so, how do i fix it?

i started up portsentry on a box so that i could learn about my firewall and it's listening abilities. now it won't let me back in. i shut portsentry down, still nothing. i put my workstation in the .ignore, as stated by the file, still nothing. i've looked into the sshd_config and i don't have any clues.

i have a kvm so i can get into the box to change things around, yet this is really starting to get me.

thanks.

edit: if i go into another machine i can log into the firewall without any problems. could the problem be that i did a nmap on the firewall from my workstation? i can go from the firewall to the workstation without any problems also.

Last edited by emetib; 07-13-2003 at 11:35 AM.
 
Old 07-13-2003, 12:52 PM   #2
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 390

Rep: Reputation: 53
Re: ssh question

Quote:
Originally posted by emetib

ssh_exchange_identification: Connection closed by remote host

i started up portsentry could the problem be that i did a nmap on the firewall from my workstation?
It looks like the portsentry box is blocking connections from the workstation. Likely portsentry added a firewall rule when you nmaped it. Run "iptables -L" and see if a rule turns up that looks like it's blocking the workstation, and remove the offending rule.

I've never tried portsentry; hopefully this will help until someone with more experience responds.

Lyle
 
Old 07-13-2003, 01:27 PM   #3
emetib
Member
 
Registered: Feb 2003
Posts: 482

Original Poster
Rep: Reputation: 33
i took a look at the chains, there are none listed in the rule sets.
input, output, forward. nothing listed below them except what/where things should be going. nothing to do with ipaddresses.

i've done a search in the o'reilly ssh book about it and can't find anything. i've shutdown portsentry, and nothing, i've restarted ssh, and nothing. i even did a hard reboot seeing if that would help and still nothing.

thanks.
 
  


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
ssh-agent/ssh-add question mega Slackware 2 01-26-2005 04:09 AM
Question on SSH ? brokenflea Slackware 7 10-27-2004 10:25 AM
SSH Question... Flipper Linux - Newbie 4 07-20-2003 04:29 PM
ssh question pdelucia Linux - Security 1 07-09-2003 03:54 PM
question about ssh minor Linux - Security 7 05-20-2001 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration