<?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: sshd starting over init level in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555647#M745935</link>
    <description>[root@vpart1 /tmp]# find /sbin -name "*ssh*" -exec ls -l {} \;&lt;BR /&gt;-rwxr-xr-x   1 root       sys           1679 Jun 24  2004 /sbin/init.d/sshd2&lt;BR /&gt;lrwxr-xr-x   1 root       sys             18 Jun 24  2004 /sbin/rc1.d/K891sshd2 -&amp;gt; /sbin/init.d/sshd2&lt;BR /&gt;lrwxr-xr-x   1 root       sys             18 Jun 24  2004 /sbin/rc2.d/S891sshd2 -&amp;gt; /sbin/init.d/sshd2&lt;BR /&gt;[root@vpart1 /tmp]# &lt;BR /&gt;&lt;BR /&gt;the sshd2 script is:&lt;BR /&gt;#! /bin/sh&lt;BR /&gt;# description: #              SSH Tectia(tm) Server - daemon&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Author: Ville Laurikari &lt;VLAURIKA&gt;&lt;BR /&gt;#         Sami Lehtinen   &lt;SJL&gt;&lt;BR /&gt;#&lt;BR /&gt;# Copyright (c) 2000-2003 SSH Communications Security, Finland&lt;BR /&gt;#               All rights reserved&lt;BR /&gt;#&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;&lt;BR /&gt;if test ! -f //usr/local/sbin/sshd2; then&lt;BR /&gt;  exit 0&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;PID=""&lt;BR /&gt;if test -f /var/run/sshd2_22.pid; then&lt;BR /&gt;  PID=`cat /var/run/sshd2_22.pid`&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rval=0&lt;BR /&gt;set_return() {&lt;BR /&gt;        x=$?&lt;BR /&gt;        if [ $x -ne 0 ]; then&lt;BR /&gt;                echo "EXIT CODE: $x"&lt;BR /&gt;                rval=1  always 1 so that 2 can be used for other reasons&lt;BR /&gt;        fi&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;case $1 in&lt;BR /&gt;  start_msg)&lt;BR /&gt;        echo "Starting sshd2"&lt;BR /&gt;        ;;&lt;BR /&gt;  stop_msg)&lt;BR /&gt;        echo "Stopping sshd2"&lt;BR /&gt;        ;;&lt;BR /&gt;  start)&lt;BR /&gt;        if test -x //usr/local/sbin/sshd2 ; then&lt;BR /&gt;          echo "Starting sshd2: \c"&lt;BR /&gt;          //usr/local/sbin/sshd2 &lt;BR /&gt;          echo "OK"&lt;BR /&gt;          set_return&lt;BR /&gt;          if [ $rval -ne 0 ]; then&lt;BR /&gt;            echo "Error in starting sshd2. Recommend checking the"&lt;BR /&gt;            echo "syslog file (usually /var/adm/syslog/syslog.log)"&lt;BR /&gt;            echo "for possible reasons."&lt;BR /&gt;          fi&lt;BR /&gt;        else&lt;BR /&gt;          echo "//usr/local/sbin/sshd2 is not executable"&lt;BR /&gt;          rval=1&lt;BR /&gt;        fi&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;  stop)&lt;BR /&gt;        # Stop daemons.       &lt;BR /&gt;        if test -n "$PID"; then&lt;BR /&gt;          echo "Shutting down sshd2: \c"&lt;BR /&gt;          kill $PID&lt;BR /&gt;          echo "OK"&lt;BR /&gt;        else&lt;BR /&gt;          echo "No sshd2 process found"&lt;BR /&gt;          rval=1&lt;BR /&gt;        fi&lt;BR /&gt;        if test -f "$PIDFILE"; then&lt;BR /&gt;          rm -f $PIDFILE&lt;BR /&gt;        fi&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;  restart)&lt;BR /&gt;        $0 stop&lt;BR /&gt;        $0 start&lt;BR /&gt;        ;;&lt;BR /&gt;  *)&lt;BR /&gt;        echo "Usage: sshd2 {start|stop|restart}"&lt;BR /&gt;        rval=1&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;exit $rval&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr&lt;/SJL&gt;&lt;/VLAURIKA&gt;</description>
    <pubDate>Wed, 01 Jun 2005 07:28:17 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2005-06-01T07:28:17Z</dc:date>
    <item>
      <title>sshd starting over init level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555646#M745934</link>
      <description>We have installed the sshd and all works fine. So now we want to add these sshd to the booting level.&lt;BR /&gt;&lt;BR /&gt;In Linux (gentoo) there is something like "rc-update -a sshd boot"&lt;BR /&gt;&lt;BR /&gt;How can a add the sshd to a rc-Level?</description>
      <pubDate>Wed, 01 Jun 2005 07:20:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555646#M745934</guid>
      <dc:creator>mario.schroeder</dc:creator>
      <dc:date>2005-06-01T07:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: sshd starting over init level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555647#M745935</link>
      <description>[root@vpart1 /tmp]# find /sbin -name "*ssh*" -exec ls -l {} \;&lt;BR /&gt;-rwxr-xr-x   1 root       sys           1679 Jun 24  2004 /sbin/init.d/sshd2&lt;BR /&gt;lrwxr-xr-x   1 root       sys             18 Jun 24  2004 /sbin/rc1.d/K891sshd2 -&amp;gt; /sbin/init.d/sshd2&lt;BR /&gt;lrwxr-xr-x   1 root       sys             18 Jun 24  2004 /sbin/rc2.d/S891sshd2 -&amp;gt; /sbin/init.d/sshd2&lt;BR /&gt;[root@vpart1 /tmp]# &lt;BR /&gt;&lt;BR /&gt;the sshd2 script is:&lt;BR /&gt;#! /bin/sh&lt;BR /&gt;# description: #              SSH Tectia(tm) Server - daemon&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Author: Ville Laurikari &lt;VLAURIKA&gt;&lt;BR /&gt;#         Sami Lehtinen   &lt;SJL&gt;&lt;BR /&gt;#&lt;BR /&gt;# Copyright (c) 2000-2003 SSH Communications Security, Finland&lt;BR /&gt;#               All rights reserved&lt;BR /&gt;#&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;&lt;BR /&gt;if test ! -f //usr/local/sbin/sshd2; then&lt;BR /&gt;  exit 0&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;PID=""&lt;BR /&gt;if test -f /var/run/sshd2_22.pid; then&lt;BR /&gt;  PID=`cat /var/run/sshd2_22.pid`&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rval=0&lt;BR /&gt;set_return() {&lt;BR /&gt;        x=$?&lt;BR /&gt;        if [ $x -ne 0 ]; then&lt;BR /&gt;                echo "EXIT CODE: $x"&lt;BR /&gt;                rval=1  always 1 so that 2 can be used for other reasons&lt;BR /&gt;        fi&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;case $1 in&lt;BR /&gt;  start_msg)&lt;BR /&gt;        echo "Starting sshd2"&lt;BR /&gt;        ;;&lt;BR /&gt;  stop_msg)&lt;BR /&gt;        echo "Stopping sshd2"&lt;BR /&gt;        ;;&lt;BR /&gt;  start)&lt;BR /&gt;        if test -x //usr/local/sbin/sshd2 ; then&lt;BR /&gt;          echo "Starting sshd2: \c"&lt;BR /&gt;          //usr/local/sbin/sshd2 &lt;BR /&gt;          echo "OK"&lt;BR /&gt;          set_return&lt;BR /&gt;          if [ $rval -ne 0 ]; then&lt;BR /&gt;            echo "Error in starting sshd2. Recommend checking the"&lt;BR /&gt;            echo "syslog file (usually /var/adm/syslog/syslog.log)"&lt;BR /&gt;            echo "for possible reasons."&lt;BR /&gt;          fi&lt;BR /&gt;        else&lt;BR /&gt;          echo "//usr/local/sbin/sshd2 is not executable"&lt;BR /&gt;          rval=1&lt;BR /&gt;        fi&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;  stop)&lt;BR /&gt;        # Stop daemons.       &lt;BR /&gt;        if test -n "$PID"; then&lt;BR /&gt;          echo "Shutting down sshd2: \c"&lt;BR /&gt;          kill $PID&lt;BR /&gt;          echo "OK"&lt;BR /&gt;        else&lt;BR /&gt;          echo "No sshd2 process found"&lt;BR /&gt;          rval=1&lt;BR /&gt;        fi&lt;BR /&gt;        if test -f "$PIDFILE"; then&lt;BR /&gt;          rm -f $PIDFILE&lt;BR /&gt;        fi&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;  restart)&lt;BR /&gt;        $0 stop&lt;BR /&gt;        $0 start&lt;BR /&gt;        ;;&lt;BR /&gt;  *)&lt;BR /&gt;        echo "Usage: sshd2 {start|stop|restart}"&lt;BR /&gt;        rval=1&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;exit $rval&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr&lt;/SJL&gt;&lt;/VLAURIKA&gt;</description>
      <pubDate>Wed, 01 Jun 2005 07:28:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555647#M745935</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2005-06-01T07:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: sshd starting over init level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555648#M745936</link>
      <description>If you installed the HP depot, then this is already done for you.  The script is /sbin/init.d/secsh.  It has links at /sbin/rc2.d/S393secsh to start.</description>
      <pubDate>Wed, 01 Jun 2005 07:28:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555648#M745936</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2005-06-01T07:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: sshd starting over init level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555649#M745937</link>
      <description>So we have installed the HP-Depot but there are no files like /sbin/secsh&lt;BR /&gt;&lt;BR /&gt;# find /sbin -name "*ssh*" -exec ls -l {} \;&lt;BR /&gt;lrwxr-xr-x   1 root       sys             23 May 23 16:19 /sbin/init.d/sshd -&amp;gt; /opt/openssh2/sbin/sshd&lt;BR /&gt;lrwxr-xr-x   1 root       sys             17 May 23 16:19 /sbin/rc3.d/S991sshd -&amp;gt; /sbin/init.d/sshd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And the link to the /opt/openssh2/sbin/sshd ist only a binary file - is this coorect&lt;BR /&gt;&lt;BR /&gt;schroedi&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jun 2005 07:37:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555649#M745937</guid>
      <dc:creator>mario.schroeder</dc:creator>
      <dc:date>2005-06-01T07:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: sshd starting over init level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555650#M745938</link>
      <description>The script is in /sbin/init.d  and is called secsh (secure shell).</description>
      <pubDate>Wed, 01 Jun 2005 07:43:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555650#M745938</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2005-06-01T07:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: sshd starting over init level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555651#M745939</link>
      <description>Yes, I know but we have not those script in &lt;BR /&gt;our directory&lt;BR /&gt;&lt;BR /&gt;----%&amp;lt;---------------&lt;BR /&gt;-r-xr-xr-x   1 bin        bin           1483 Nov 14  2000 rwhod&lt;BR /&gt;-r-xr-xr-x   1 bin        bin            584 Sep 13  2001 samba&lt;BR /&gt;-r-xr-xr-x   1 bin        bin           3842 Nov 14  2000 savecrash&lt;BR /&gt;-r-xr-xr-x   1 bin        bin           2217 Jan 22  2002 scrdaemon&lt;BR /&gt;-r-xr-xr-x   1 bin        bin           3688 Nov 14  2000 sendmail&lt;BR /&gt;-r-xr-xr-x   1 bin        bin           1524 Nov 14  2000 set_date&lt;BR /&gt;-r-xr-xr-x   1 bin        bin            710 Nov 14  2000 set_prvgrp&lt;BR /&gt;-r-xr-xr-x   1 bin        bin           1275 Oct  5  2004 slsd&lt;BR /&gt;-r-xr-xr-x   1 bin        bin           1423 Nov 14  2000 spa&lt;BR /&gt;lrwxr-xr-x   1 root       sys             23 May 23 16:27 sshd -&amp;gt; /opt/openssh2/sbin/sshd&lt;BR /&gt;-r-xr-xr-x   1 root       sys            483 Mar 26  2004 start_umc&lt;BR /&gt;-r-xr-xr-x   1 bin        bin            454 Aug 26  2002 stop_psp&lt;BR /&gt;-r-xr-xr-x   1 root       sys            489 Aug 26  2002 stop_umc&lt;BR /&gt;-r-xr--r--   1 bin        bin           2750 May  7  2002 swagentd&lt;BR /&gt;-r-xr-xr-x   1 bin        bin            785 Nov 14  2000 swap_start&lt;BR /&gt;-r-xr--r--   1 bin        bin          32195 Jul 29  2002 swconfig&lt;BR /&gt;-r-xr-xr-x   1 bin        bin           1312 Nov 14  2000 syncer&lt;BR /&gt;-r-xr-xr-x   1 bin        bin           3047 Oct 27  2003 syslogd&lt;BR /&gt;-r-xr-xr-x   1 bin        bin           3214 Nov 14  2000 template&lt;BR /&gt;&lt;BR /&gt;----------------%&amp;lt;---------------------------</description>
      <pubDate>Wed, 01 Jun 2005 08:22:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555651#M745939</guid>
      <dc:creator>mario.schroeder</dc:creator>
      <dc:date>2005-06-01T08:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: sshd starting over init level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555652#M745940</link>
      <description>You have /opt/openssh2 listed as a link to ssh.  That doesn't look like the HP depot for secure shell.  Did you compile it yourself?  HP's is product T1471AA and is found on software.hp.com</description>
      <pubDate>Wed, 01 Jun 2005 08:29:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555652#M745940</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2005-06-01T08:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: sshd starting over init level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555653#M745941</link>
      <description>I have not installed the Depot. But I dont think that the depot was self compiled.&lt;BR /&gt;&lt;BR /&gt;#swlist -l product | grep -i ssh&lt;BR /&gt;  openssh               3.7.1p2        openssh</description>
      <pubDate>Wed, 01 Jun 2005 08:42:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555653#M745941</guid>
      <dc:creator>mario.schroeder</dc:creator>
      <dc:date>2005-06-01T08:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: sshd starting over init level</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555654#M745942</link>
      <description>You may want to deinstall that bundle and install these two:&lt;BR /&gt;&lt;BR /&gt;Secure Shell&lt;BR /&gt;&lt;A href="http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA" target="_blank"&gt;http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Random Number Generator&lt;BR /&gt;&lt;A href="http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=KRNG11I" target="_blank"&gt;http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=KRNG11I&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Random number generator needs a reboot to install.</description>
      <pubDate>Wed, 01 Jun 2005 09:51:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sshd-starting-over-init-level/m-p/3555654#M745942</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2005-06-01T09:51:25Z</dc:date>
    </item>
  </channel>
</rss>

