DbAppWeb.com

Menu
  • Home
  • Linux
  • HP-UX
  • macOS
  • Windows
  • Web Servers
  • App Servers
  • Storage

Disable SSH Protocol Version 1 Session Key Retrieval

July 11, 2021 DbAppWeb Admin

NESSUS scan showing the  below vulnerability on one of the HP-UX server.

10882 – SSH Protocol Version 1 Session Key Retrieval

 

Synopsis

The remote service offers an insecure cryptographic protocol.

 

Description

The remote SSH daemon supports connections made using the version 1.33 and/or 1.5 of the SSH protocol.

These protocols are not completely cryptographically safe so they should not be used.

Solution

Disable SSH Protocol Version 1 Session Key Retrieval

Follow the steps given below to disable SSH protocol version 1 session key retrieval on a HP-UX server.

  • Default list of ciphers which contains weak ciphers are arcfour arcfour128 arcfour256 aes128-cbc 3des-cbc blowfish-cbc cast128-cbc aes192-cbc aes256-cbc
  • As you can see that by default SSH protocol version 1 and 2 both are enabled on HP-UX servers.
    # cat /opt/ssh/etc/sshd_config
    
    .
    .
    Protocol 2,1
    .
    .
  • To disable the SSH protocol version 1 on a HP-UX server edit the /opt/ssh/etc/sshd_config file and keep the protocol value only 2 as shown below.
    # vi /opt/ssh/etc/sshd_config
    
    .
    .
    Protocol 2
    .
    .
  • Save the file and restart the ssh service using the below command.
    # /sbin/init.d/secsh stop
    HP-UX Secure Shell stopped
    # /sbin/init.d/secsh start
    HP-UX Secure Shell started
  • After disabling SSH protocol version 1 if you try ssh using protocol version 1, you will get below message:
    # ssh -1 <server>
    Protocol major versions differ: 1 vs. 2
  • Now, above message confirm that SSH protocol version 1 session key retrieval has been disabled on your HP-UX system.
Last Updated: July 11, 2021

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Telegram (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
Prev Article
Next Article
Tags:HP-UX SSH Sys Admin System Security

Leave a Reply Cancel Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Popular
  • Recent

Categories

  • Android (2)
  • Blogger (16)
  • Domain and Hosting (1)
  • Hardware Issues (7)
  • HP-UX (55)
  • HPE Data Protector (9)
  • IBM Lotus Notes (2)
  • IBM WebSphere Application Server (16)
  • Internet Tips & Tricks (15)
  • iOS (8)
  • JBoss/WildFly Application Server (2)
  • Linux (76)
  • macOS (15)
  • Microsoft Windows (31)
  • News and Updates (11)
  • Oracle Database (5)
  • SSL/TLS (1)
  • Storage Servers (23)
  • Tools/Softwares (1)
  • VMware ESXi (17)
  • Web Servers (14)
  • WordPress (5)

Archives

DbAppWeb.com

Solution of Database, Application and Web Server Problems

About DbAppWeb.com

One Stop Solution for Database Server, Application Server and Web Server Problems.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

DbAppWeb on Social Media

Copyright © 2025 DbAppWeb.com
Terms and Conditions   Theme by MyThemeShop.com