LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 03-24-2013, 10:35 PM   #1
squimby
LQ Newbie
 
Registered: Aug 2012
Location: Wild wild Midwest
Distribution: Centos6.3, JoliOS
Posts: 12

Rep: Reputation: Disabled
SSH connection failure in Centos 6.3


I have Centos 6.3 installed as a guest OS on a windows 8 machine using Virtualbox 4.2.8. I've configured my virtual eth0 adapter to use a static IP. sshd is on, listening to port 22 and runs at startup, and iptables is allowing port 22 traffic.

The problem is that I'm only randomly able to ssh to my guest os using putty, and at other times it'll block the connection with any of the three warnings:

"Network Error: Software caused connection abort
Network Error: Connection Refused
Network Error: Connection Reset by Peer"

I commonly get the first one, but the 2nd and 3rd seem to randomly occur. I have putty set to send empty packets every 5 seconds to keep the signal alive, but when I am able to connect, it'll still close the connection and usally give me the first warning listed...

I'm completely stumped. I've checked the secure, and network logs, but unfortunately I have no idea what they mean.. I haven't tried connecting with another client yet, but will do that next. I'll try disabling selinux as well, but I'm pretty certain that it's not a firewall issue. Any other guesses on what else to try?
 
Old 03-25-2013, 12:26 PM   #2
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, CentOS, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,777
Blog Entries: 20

Rep: Reputation: 115Reputation: 115
This has the familiar ring of 2 hosts with the same IP address. If you have a ping tool that will show the MAC address of the answering host, they may confirm or deny if this problem is happening. Do you have other computers on your LAN? If so, disconnect from the LAN, and using only IP addresses, see if you have the same issue. Or try a different IP address.
 
  


Reply

Tags
centos, selinux, ssh


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
[SOLVED] Issue with ssh connection between Centos host OS and Ubuntu 10.04 Running on Virtual sriramdas Linux - Virtualization and Cloud 2 01-16-2013 09:00 PM
ssh: connection to host port: 22: Connection timed out lost connection cucolin@ Linux - Server 4 11-22-2011 06:15 AM
ssh connection keep disconected , how to find way? in CentOs vmware umen Linux - Networking 3 05-03-2011 02:27 PM
ssh connection hanging centos rallymatte Linux - Networking 2 12-14-2009 04:35 PM
LXer: ssh-xfer: Quickly grabbing files over an existing SSH connection LXer Syndicated Linux News 0 08-08-2008 03:11 PM


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