LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2013, 04:07 AM   #1
boludu
LQ Newbie
 
Registered: Dec 2012
Posts: 1

Rep: Reputation: Disabled
ssh connection issue


I am trying to connect to a host using sftp host id and I keep
getting the message:
ssh: connect to host 192.168.1.3 port 22: Connection refused
Couldn't read packet: Connection reset by peer

Please let me know what configuration I need to do to fix this
problem.

thanks
 
Old 02-11-2013, 04:28 AM   #2
fortran
Member
 
Registered: Nov 2011
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Fedora
Posts: 300
Blog Entries: 2

Rep: Reputation: 51
Are you trying to connect it in the LAN?
because if you are trying to connect static IP outside LAN, it needs extra settings for the static IP server.
The port 22 should be opened on router through which you are being connected outside LAN.

check your firewall setting of the server. Is port 22 opened there?
Can you connect any other system of same LAN using ssh?
Have you installed client and server ssh both on the server?

Last edited by fortran; 02-11-2013 at 04:41 AM.
 
Old 02-11-2013, 05:03 AM   #3
hermy7
LQ Newbie
 
Registered: Dec 2011
Location: Syd
Distribution: Centos, Red hat
Posts: 25

Rep: Reputation: Disabled
Test you connection using telnet HostIP 22
If you cannot connect probably is your firewall block it.
but if you can connect probably is you user name problem...
 
  


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
[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 10:00 PM
ssh: connection to host port: 22: Connection timed out lost connection cucolin@ Linux - Server 4 11-22-2011 07:15 AM
SSH Connection Issue techM Solaris / OpenSolaris 2 07-02-2010 12:12 PM
Webmin SSH connection issue KunoNoOni Linux - Server 4 12-31-2007 08:34 PM
Psftp (SSH) Client connection issue, Pls Help, TQ.. garychwm Linux - Networking 2 10-09-2005 03:02 AM


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