<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ssh hangs and service ssh stopped in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ssh-hangs-and-service-ssh-stopped/m-p/4028532#M29020</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;w and uptime will give you how long the system is up.&lt;BR /&gt;&lt;BR /&gt;did anybody reboot, check using&lt;BR /&gt;&lt;BR /&gt;last reboot&lt;BR /&gt;&lt;BR /&gt;ssh&lt;BR /&gt;check date/time stamps on ssh config files, if anybody modified&lt;BR /&gt;&lt;BR /&gt;ls -ls /etc/ssh/ssh*config&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 28 Jun 2007 09:19:55 GMT</pubDate>
    <dc:creator>Basheer_2</dc:creator>
    <dc:date>2007-06-28T09:19:55Z</dc:date>
    <item>
      <title>ssh hangs and service ssh stopped</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-hangs-and-service-ssh-stopped/m-p/4028528#M29016</link>
      <description>Hi &lt;BR /&gt;i had a problem in one of our servers&lt;BR /&gt;server got hanged server was not responding.&lt;BR /&gt;and ssh was stopped and we tried restarted ssh service on the server but still the server was not reachable thru ssh , server was pingable .&lt;BR /&gt;&lt;BR /&gt;what can be the problem , and also pls let me know is there any way we can find out who has rebooted the server or fiddled with the server .</description>
      <pubDate>Thu, 28 Jun 2007 04:26:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-hangs-and-service-ssh-stopped/m-p/4028528#M29016</guid>
      <dc:creator>Karthikeyan.j</dc:creator>
      <dc:date>2007-06-28T04:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hangs and service ssh stopped</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-hangs-and-service-ssh-stopped/m-p/4028529#M29017</link>
      <description>Log files.  Look through them.&lt;BR /&gt;&lt;BR /&gt;It should give you a reason as to why 'sshd' died, or why it failed to restart.&lt;BR /&gt;&lt;BR /&gt;Use the 'last' to see who was on when the server last restarted.</description>
      <pubDate>Thu, 28 Jun 2007 05:07:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-hangs-and-service-ssh-stopped/m-p/4028529#M29017</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-06-28T05:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hangs and service ssh stopped</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-hangs-and-service-ssh-stopped/m-p/4028530#M29018</link>
      <description>thx for the reply &lt;BR /&gt;&lt;BR /&gt;i had check the log but no info about ssh failed or hanged .&lt;BR /&gt;&lt;BR /&gt;last doent give any clear details of who rebooted.&lt;BR /&gt;&lt;BR /&gt;Pls let me know if there is any software for finding miuse of the servers.</description>
      <pubDate>Thu, 28 Jun 2007 06:11:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-hangs-and-service-ssh-stopped/m-p/4028530#M29018</guid>
      <dc:creator>Karthikeyan.j</dc:creator>
      <dc:date>2007-06-28T06:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hangs and service ssh stopped</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-hangs-and-service-ssh-stopped/m-p/4028531#M29019</link>
      <description>You should look for log messages by sshd.&lt;BR /&gt;&lt;BR /&gt;# grep sshd /var/log/messages&lt;BR /&gt;&lt;BR /&gt;Remember, that if you have logrotation for messages to also look in the already rotated files (they may be zipped, depending on your config).&lt;BR /&gt;&lt;BR /&gt;Check if sshd is configured to be started by init.&lt;BR /&gt;If you have a RedHat based distro you can try&lt;BR /&gt;&lt;BR /&gt;# chkconfig --list sshd&lt;BR /&gt;sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;&lt;BR /&gt;If it isn't listed it might either be called differently on your system, or simply not yet added.&lt;BR /&gt;&lt;BR /&gt;Did you install sshd as part of a package,&lt;BR /&gt;or did you compile it yourself?&lt;BR /&gt;&lt;BR /&gt;On RPM based distros you could try&lt;BR /&gt;&lt;BR /&gt;# rpm -qa | grep ssh&lt;BR /&gt;&lt;BR /&gt;On RHES4 the package name for the server is this, and these are its config files.&lt;BR /&gt;&lt;BR /&gt;# rpm -qc openssh-server&lt;BR /&gt;/etc/pam.d/sshd&lt;BR /&gt;/etc/rc.d/init.d/sshd&lt;BR /&gt;/etc/ssh/sshd_config&lt;BR /&gt;&lt;BR /&gt;If you have a self-built version try locating the config file like&lt;BR /&gt;&lt;BR /&gt;# find /etc /usr /opt -type f -name ssh\*conf\* &lt;BR /&gt;&lt;BR /&gt;Try starting as service (on RH),&lt;BR /&gt;or via init like&lt;BR /&gt;&lt;BR /&gt;# service sshd start&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;# /etc/init.d/ssh start&lt;BR /&gt;&lt;BR /&gt;You should definitely find entries in /var/log/messages.&lt;BR /&gt;&lt;BR /&gt;Does your sshd_conf use unusual listen ports?&lt;BR /&gt;If not, look if sshd is listening on 22/tcp&lt;BR /&gt;&lt;BR /&gt;# netstat -tlnp | grep :22&lt;BR /&gt;tcp        0      0 :::22                       :::*                        LISTEN      2117/sshd           &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jun 2007 09:09:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-hangs-and-service-ssh-stopped/m-p/4028531#M29019</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-06-28T09:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: ssh hangs and service ssh stopped</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-hangs-and-service-ssh-stopped/m-p/4028532#M29020</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;w and uptime will give you how long the system is up.&lt;BR /&gt;&lt;BR /&gt;did anybody reboot, check using&lt;BR /&gt;&lt;BR /&gt;last reboot&lt;BR /&gt;&lt;BR /&gt;ssh&lt;BR /&gt;check date/time stamps on ssh config files, if anybody modified&lt;BR /&gt;&lt;BR /&gt;ls -ls /etc/ssh/ssh*config&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jun 2007 09:19:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-hangs-and-service-ssh-stopped/m-p/4028532#M29020</guid>
      <dc:creator>Basheer_2</dc:creator>
      <dc:date>2007-06-28T09:19:55Z</dc:date>
    </item>
  </channel>
</rss>

