<?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 Port Number in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-number/m-p/3621034#M557607</link>
    <description>There is not. I think I got it though, I killed the sshd process and re started with:&lt;BR /&gt;&lt;BR /&gt;/opt/ssh/src/sshd -p new_port_number.&lt;BR /&gt;&lt;BR /&gt;Won't survive a reboot.</description>
    <pubDate>Wed, 07 Sep 2005 14:45:56 GMT</pubDate>
    <dc:creator>Tim King_3</dc:creator>
    <dc:date>2005-09-07T14:45:56Z</dc:date>
    <item>
      <title>SSH Port Number</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-number/m-p/3621032#M557605</link>
      <description>Hi, I would like to change my ssh port number to deter scans. I tried changing the port number in the sshd_config file, stopping and starting sshd but it is still listening on port 22. Are there other changes needed?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 07 Sep 2005 14:00:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-number/m-p/3621032#M557605</guid>
      <dc:creator>Tim King_3</dc:creator>
      <dc:date>2005-09-07T14:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Port Number</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-number/m-p/3621033#M557606</link>
      <description>I thought that would be all that would be needed as well.&lt;BR /&gt;&lt;BR /&gt;Is there an entry in /etc/services?  I don't think one is added by default with HP SecureShell, but you could double check.</description>
      <pubDate>Wed, 07 Sep 2005 14:33:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-number/m-p/3621033#M557606</guid>
      <dc:creator>Pat Lieberg</dc:creator>
      <dc:date>2005-09-07T14:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Port Number</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-number/m-p/3621034#M557607</link>
      <description>There is not. I think I got it though, I killed the sshd process and re started with:&lt;BR /&gt;&lt;BR /&gt;/opt/ssh/src/sshd -p new_port_number.&lt;BR /&gt;&lt;BR /&gt;Won't survive a reboot.</description>
      <pubDate>Wed, 07 Sep 2005 14:45:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-number/m-p/3621034#M557607</guid>
      <dc:creator>Tim King_3</dc:creator>
      <dc:date>2005-09-07T14:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Port Number</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-number/m-p/3621035#M557608</link>
      <description>You could edit /etc/rc.config.d/sshd and the -p paramter to the SSHD_ARGS line.&lt;BR /&gt;&lt;BR /&gt;That would survive a reboot.</description>
      <pubDate>Wed, 07 Sep 2005 14:51:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-number/m-p/3621035#M557608</guid>
      <dc:creator>Pat Lieberg</dc:creator>
      <dc:date>2005-09-07T14:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Port Number</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-number/m-p/3621036#M557609</link>
      <description>make sure you uncommented the line in the sshd_config file.  I made a error like that before.</description>
      <pubDate>Wed, 07 Sep 2005 21:53:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-number/m-p/3621036#M557609</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2005-09-07T21:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Port Number</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-number/m-p/3621037#M557610</link>
      <description>Better to start sshd through inetd. you will have to use -i option to start it through inetd. then you can set it to use any port you want.-/etc/services</description>
      <pubDate>Wed, 07 Sep 2005 23:00:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-number/m-p/3621037#M557610</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-09-07T23:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Port Number</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-number/m-p/3621038#M557611</link>
      <description>The config file worked for me. I am using SSH version 4.0 from &lt;A href="http://www.hp.com/go/software:" target="_blank"&gt;www.hp.com/go/software:&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/secsh stop&lt;BR /&gt;HP-UX Secure Shell stopped&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/secsh start&lt;BR /&gt;HP-UX Secure Shell started&lt;BR /&gt;&lt;BR /&gt;# grep Port /etc/opt/ssh/sshd_config&lt;BR /&gt;Port 222&lt;BR /&gt;#GatewayPorts no&lt;BR /&gt;&lt;BR /&gt;# netstat -an |grep 22&lt;BR /&gt;tcp        0      0  15.17.187.246.50740    15.228.73.117.6001      ESTABLISHED&lt;BR /&gt;tcp        0      0  15.17.187.246.512      15.228.73.117.1023      CLOSE_WAIT&lt;BR /&gt;tcp        0      0  *.222                  *.*                     LISTEN&lt;BR /&gt;udp        0      0  *.1022                 *.*&lt;BR /&gt;#</description>
      <pubDate>Thu, 08 Sep 2005 06:53:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-number/m-p/3621038#M557611</guid>
      <dc:creator>Jim Keeble</dc:creator>
      <dc:date>2005-09-08T06:53:06Z</dc:date>
    </item>
  </channel>
</rss>

