Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

sudo ssh localhost Read from socket failed: Connection reset by peer

Posted on 2010-09-15
10
Medium Priority
?
1,619 Views
Last Modified: 2013-11-15
sudo ssh localhost
Read from socket failed: Connection reset by peer

how can I resolve those errors
0
Comment
Question by:1030071002
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 2

Assisted Solution

by:joseleonardo
joseleonardo earned 1332 total points
ID: 33683631
what operating system are you using?
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 336 total points
ID: 33683774
Does sshd run on localhost?
0
 

Author Comment

by:1030071002
ID: 33684381
ubuntu yes it is running locally
0
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
LVL 2

Assisted Solution

by:joseleonardo
joseleonardo earned 1332 total points
ID: 33684409
check if the service is running please put the output of this command

#netstat -anp | grep 22

0
 

Author Comment

by:1030071002
ID: 33685738
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      2904/sshd      
tcp6       0      0 :::22                   :::*                    LISTEN      2904/sshd      
unix  2      [ ACC ]     STREAM     LISTENING     9222     1576/nm-applet      /tmp/orbit-sysadmin/linc-628-0-5ccea959659ad
unix  2      [ ACC ]     STREAM     LISTENING     9288     1569/pulseaudio     /home/sysadmin/.pulse/7d422e7f0f446a7a41eef5284c89157c-runtime/native
unix  2      [ ACC ]     STREAM     LISTENING     9682     1620/wnck-applet    /tmp/orbit-sysadmin/linc-654-0-22ae07f358eeb
unix  2      [ ACC ]     STREAM     LISTENING     30221    3048/gvfsd-network  /tmp/orbit-sysadmin/linc-be8-0-4a8a4f86ba7cd
unix  2      [ ACC ]     STREAM     LISTENING     12715    1786/evolution-exch /tmp/orbit-sysadmin/linc-6fa-0-22c2acc394702
unix  2      [ ACC ]     STREAM     LISTENING     55393    4463/gedit          /tmp/gedit.sysadmin.1212251940
unix  2      [ ACC ]     STREAM     LISTENING     6223     1178/hald           @/var/run/hald/dbus-bnGcnWm5W6
unix  3      [ ]         STREAM     CONNECTED     33754    1569/pulseaudio     /home/sysadmin/.pulse/7d422e7f0f446a7a41eef5284c89157c-runtime/native
unix  3      [ ]         STREAM     CONNECTED     30322    3056/gvfsd-dnssd    @/dbus-vfs-daemon/socket-mxi36UWy
unix  3      [ ]         STREAM     CONNECTED     30224    3048/gvfsd-network  /tmp/orbit-sysadmin/linc-be8-0-4a8a4f86ba7cd
unix  3      [ ]         STREAM     CONNECTED     30223    1545/gconfd-2      
unix  3      [ ]         STREAM     CONNECTED     30220    1545/gconfd-2       /tmp/orbit-sysadmin/linc-609-0-1020d8b0b284c
unix  3      [ ]         STREAM     CONNECTED     12724    1786/evolution-exch /tmp/orbit-sysadmin/linc-6fa-0-22c2acc394702
unix  3      [ ]         STREAM     CONNECTED     12722    1603/bonobo-activat /tmp/orbit-sysadmin/linc-643-0-447df80cc4fc
unix  3      [ ]         STREAM     CONNECTED     12718    1786/evolution-exch /tmp/orbit-sysadmin/linc-6fa-0-22c2acc394702
unix  3      [ ]         STREAM     CONNECTED     12522    1545/gconfd-2       /tmp/orbit-sysadmin/linc-609-0-1020d8b0b284c
unix  3      [ ]         STREAM     CONNECTED     10226    732/dbus-daemon     /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     10225    1663/indicator-sess
unix  3      [ ]         STREAM     CONNECTED     10221    1542/dbus-daemon    @/tmp/dbus-TqvezLSQDf
unix  3      [ ]         STREAM     CONNECTED     10220    1663/indicator-sess
unix  3      [ ]         STREAM     CONNECTED     10043    1569/pulseaudio     /home/sysadmin/.pulse/7d422e7f0f446a7a41eef5284c89157c-runtime/native
unix  3      [ ]         STREAM     CONNECTED     9722     1577/vino-server    
unix  3      [ ]         STREAM     CONNECTED     9710     1620/wnck-applet    /tmp/orbit-sysadmin/linc-654-0-22ae07f358eeb
unix  3      [ ]         STREAM     CONNECTED     9694     1620/wnck-applet    /tmp/orbit-sysadmin/linc-654-0-22ae07f358eeb
unix  3      [ ]         STREAM     CONNECTED     9687     1620/wnck-applet    /tmp/orbit-sysadmin/linc-654-0-22ae07f358eeb
unix  3      [ ]         STREAM     CONNECTED     9369     1569/pulseaudio     /home/sysadmin/.pulse/7d422e7f0f446a7a41eef5284c89157c-runtime/native
unix  3      [ ]         STREAM     CONNECTED     9225     1576/nm-applet      /tmp/orbit-sysadmin/linc-628-0-5ccea959659ad
unix  3      [ ]         STREAM     CONNECTED     9224     1545/gconfd-2      
unix  3      [ ]         STREAM     CONNECTED     9221     1545/gconfd-2       /tmp/orbit-sysadmin/linc-609-0-1020d8b0b284c
unix  3      [ ]         STREAM     CONNECTED     9220     1576/nm-applet      
unix  3      [ ]         STREAM     CONNECTED     9122     1545/gconfd-2       /tmp/orbit-sysadmin/linc-609-0-1020d8b0b284c
unix  3      [ ]         STREAM     CONNECTED     7322     1462/gdm-session-wo
unix  3      [ ]         STREAM     CONNECTED     6370     1228/event1        
unix  3      [ ]         STREAM     CONNECTED     6225     732/dbus-daemon     /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     6224     1178/hald          


0
 
LVL 18

Assisted Solution

by:TobiasHolm
TobiasHolm earned 332 total points
ID: 33685877
Hi!

Try:

ssh -l {loginname} localhost

Regards, Tobias
0
 
LVL 2

Assisted Solution

by:joseleonardo
joseleonardo earned 1332 total points
ID: 33685985
Ok It seems to be a problem with your Authorized_keys
0
 
LVL 2

Assisted Solution

by:joseleonardo
joseleonardo earned 1332 total points
ID: 33685996
or try re-installing openssh with  apt-get...
0
 

Accepted Solution

by:
1030071002 earned 0 total points
ID: 33818883
i did that fix did not work
0
 

Author Closing Comment

by:1030071002
ID: 33999672
re- installing the application work
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know how boring and exhausting it is to transfer huge web projects developed locally to a webserver simply via FTP. The File Transfer Protocol is a really nice solution if you need to transfer small amounts of files, but if you're plannin…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question