<?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: determine if secure shell (sh) is installed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-secure-shell-sh-is-installed/m-p/2634355#M42018</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Openssh (or ssh) Depending on how it was installed.....&lt;BR /&gt;&lt;BR /&gt;If it had been installed using a depot from say&lt;BR /&gt;from the HP porting centre, it would show up in the output of swlist.&lt;BR /&gt;&lt;BR /&gt;# swlist -l product &lt;BR /&gt;&lt;BR /&gt;Failing that, have a look in the system startup&lt;BR /&gt;directory /sbin/init.d for anything that resembles this&lt;BR /&gt;&lt;BR /&gt;user@metsco5:/sbin/init.d 6 $ ll /sbin/init.d/ssh*&lt;BR /&gt;-rwxr-xr-x   1 root       sys           1975 Sep 11 09:31 /sbin/init.d/sshd.rc&lt;BR /&gt;&lt;BR /&gt;Processes that would be running&lt;BR /&gt;&lt;BR /&gt;user@system:/home/user 3 $ ps -ef |grep ssh&lt;BR /&gt;    root   871     1  0  Dec 10  ?         0:00 /opt/openssh2/sbin/sshd&lt;BR /&gt;&lt;BR /&gt;Failing that do a find for any user home directory that contains the keys&lt;BR /&gt;&lt;BR /&gt;# find /home -name identity -print&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 20 Dec 2001 22:26:22 GMT</pubDate>
    <dc:creator>Michael Tully</dc:creator>
    <dc:date>2001-12-20T22:26:22Z</dc:date>
    <item>
      <title>determine if secure shell (sh) is installed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-secure-shell-sh-is-installed/m-p/2634352#M42015</link>
      <description>We just received a message about a problem with secure shell (sh).  We do not use it but want to verify that it has not been installed.  How can we verify that it has not been installed.</description>
      <pubDate>Thu, 20 Dec 2001 22:15:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-secure-shell-sh-is-installed/m-p/2634352#M42015</guid>
      <dc:creator>ernest tamura</dc:creator>
      <dc:date>2001-12-20T22:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: determine if secure shell (sh) is installed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-secure-shell-sh-is-installed/m-p/2634353#M42016</link>
      <description>Usually it will be in /usr/local/bin or /opt/openssh2/bin. I would run a few commands.&lt;BR /&gt;&lt;BR /&gt;find / -name sshd&lt;BR /&gt;&lt;BR /&gt;ps -ef |grep sshd&lt;BR /&gt;&lt;BR /&gt;netstat -an | grep 22 | grep LISTEN | more&lt;BR /&gt;&lt;BR /&gt;If any of these are successful then you have it installed. It is not a default app so if you have not installed it then it probably is not there.  &lt;BR /&gt;&lt;BR /&gt;I would recommend using it over rlogin or telnet, good security practice.&lt;BR /&gt;&lt;BR /&gt;MC,&lt;BR /&gt;C</description>
      <pubDate>Thu, 20 Dec 2001 22:18:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-secure-shell-sh-is-installed/m-p/2634353#M42016</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2001-12-20T22:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: determine if secure shell (sh) is installed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-secure-shell-sh-is-installed/m-p/2634354#M42017</link>
      <description>Hi Ernest,&lt;BR /&gt;&lt;BR /&gt;Since it could be installed anywhere:&lt;BR /&gt;&lt;BR /&gt;find / -name "ssh*"&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 20 Dec 2001 22:25:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-secure-shell-sh-is-installed/m-p/2634354#M42017</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-12-20T22:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: determine if secure shell (sh) is installed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-secure-shell-sh-is-installed/m-p/2634355#M42018</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Openssh (or ssh) Depending on how it was installed.....&lt;BR /&gt;&lt;BR /&gt;If it had been installed using a depot from say&lt;BR /&gt;from the HP porting centre, it would show up in the output of swlist.&lt;BR /&gt;&lt;BR /&gt;# swlist -l product &lt;BR /&gt;&lt;BR /&gt;Failing that, have a look in the system startup&lt;BR /&gt;directory /sbin/init.d for anything that resembles this&lt;BR /&gt;&lt;BR /&gt;user@metsco5:/sbin/init.d 6 $ ll /sbin/init.d/ssh*&lt;BR /&gt;-rwxr-xr-x   1 root       sys           1975 Sep 11 09:31 /sbin/init.d/sshd.rc&lt;BR /&gt;&lt;BR /&gt;Processes that would be running&lt;BR /&gt;&lt;BR /&gt;user@system:/home/user 3 $ ps -ef |grep ssh&lt;BR /&gt;    root   871     1  0  Dec 10  ?         0:00 /opt/openssh2/sbin/sshd&lt;BR /&gt;&lt;BR /&gt;Failing that do a find for any user home directory that contains the keys&lt;BR /&gt;&lt;BR /&gt;# find /home -name identity -print&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Dec 2001 22:26:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-secure-shell-sh-is-installed/m-p/2634355#M42018</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-12-20T22:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: determine if secure shell (sh) is installed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-secure-shell-sh-is-installed/m-p/2634356#M42019</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;To determine if it is running:&lt;BR /&gt;&lt;BR /&gt;# telnet localhost 22&lt;BR /&gt;&lt;BR /&gt;If running, this will show connected and&lt;BR /&gt;the version number will also be displayed.&lt;BR /&gt;&lt;BR /&gt;Michael was showing the file locations for the OpenSSH implementation, there is another SSH implementation from SSH Communications Security Ltd (&lt;A href="http://www.ssh.fi)." target="_blank"&gt;http://www.ssh.fi).&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;To determine if this (SSH Communications) has been installed, search the following files:&lt;BR /&gt;&lt;BR /&gt;# ls -la /usr/local/sbin/sshd&lt;BR /&gt;&lt;BR /&gt;The other files are:&lt;BR /&gt;&lt;BR /&gt;# ls -la /usr/local/bin/ssh*&lt;BR /&gt;# ls -la /usr/local/bin/scp*&lt;BR /&gt;# ls -la /etc/ssh2/*&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Fri, 21 Dec 2001 01:29:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-secure-shell-sh-is-installed/m-p/2634356#M42019</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-12-21T01:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: determine if secure shell (sh) is installed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-secure-shell-sh-is-installed/m-p/2634357#M42020</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;'sh' is not a secure shell, it's a plain shell. 'ssh' is a secure shell (Secure SHell).&lt;BR /&gt;&lt;BR /&gt;Anyway, there are several ways to disguise a ssh daemon but you can always see if it is running by doing a&lt;BR /&gt;netstat -an|grep *.22&lt;BR /&gt;&lt;BR /&gt;22 is the port that ssh use on the server side.&lt;BR /&gt;&lt;BR /&gt;Since this is a &amp;lt;1024 port, only root can assign it to a service so if anyone else has the root pass on your machine, maybe (s)he installed it. Else, sshd cannot be run as a plain user.&lt;BR /&gt;&lt;BR /&gt;A&lt;BR /&gt;find / -name sshd&lt;BR /&gt;will try to find the ssh daemon file but it can fail if someone changed the name of the file.&lt;BR /&gt;&lt;BR /&gt;You can check the existance of config files in /etc and user-setup files in home dirs.&lt;BR /&gt;&lt;BR /&gt;Anyway, if you don't use it (yet) you would better do.&lt;BR /&gt;&lt;BR /&gt;E.</description>
      <pubDate>Fri, 21 Dec 2001 08:21:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-secure-shell-sh-is-installed/m-p/2634357#M42020</guid>
      <dc:creator>Eugen Cocalea</dc:creator>
      <dc:date>2001-12-21T08:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: determine if secure shell (sh) is installed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-secure-shell-sh-is-installed/m-p/2634358#M42021</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;As stated, sshd normally listens on port 22.  Just note that SSH is highly configurable and the port can be changed as well.  I've supported systems where the developers put in their own modified version of SSH listening on a different port.  This was in addition to our "standard" version.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Fri, 21 Dec 2001 14:27:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determine-if-secure-shell-sh-is-installed/m-p/2634358#M42021</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-12-21T14:27:00Z</dc:date>
    </item>
  </channel>
</rss>

