- Community Home
- >
- Servers and Operating Systems
- >
- Integrity Servers
- >
- SSH root login on HPUX 11.31
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2022 06:28 AM - last edited on 05-26-2022 05:35 PM by support_s
05-18-2022 06:28 AM - last edited on 05-26-2022 05:35 PM by support_s
SSH root login on HPUX 11.31
Hi all
I've got the same problem as discribed in the following post but with no solution: https://community.hpe.com/t5/System-Administration/Direct-Root-Login/td-p/5226502
I tried already all suggestions without any luck.
I have 2 machines, on one where's working and the other it isn't.
The working machine is the host itself, set-up using DVDs and the other is a vPar which hast been set-up using ignite from the host machine.
/opt/ssh/etc/sshd_config
PermitRootLogin yes
UsePAM yes
May 18 08:20:58 <hostanme> sshd[4020]: error: PAM: Authentication failed for root from X.X.X.XUsePAM no
May 18 08:30:26 <hostname> sshd[4141]: Failed password for root from X.X.X.X port 58101 ssh2
Any advice?
Thanks
- Tags:
- Integrity server
- Port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2022 07:29 AM
05-18-2022 07:29 AM
Query: SSH root login on HPUX 11.31
System recommended content:
1. HP-UX 11.31 - Root and Users Are Not Able to Login via SSH
2. HP-UX-11.31 - How to Disable Root Login for SSH
Please click on "Thumbs Up/Kudo" icon to give a "Kudo".
Thank you for being a HPE valuable community member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 11:46 AM
05-24-2022 11:46 AM
Re: SSH root login on HPUX 11.31
Hello robaflx,
You may try su root after login to server as normal user and see if OS allows login root user .
Other option could be change the entry UsePAM yes to UsePAM no (after taking backup of current sshd_config), restart sshd and see if that helps .
I am an HPE Employee (HPE Community)
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2022 02:05 AM
05-25-2022 02:05 AM
Re: SSH root login on HPUX 11.31
Hi georgek
Changing to root user works without any problem. I just can't login via SSH.
Disabling PAM gives me the following error:
UsePAM=no
May 18 08:30:26 <hostname> sshd[4141]: Failed password for root from X.X.X.X port 58101 ssh2
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2022 10:34 AM
05-25-2022 10:34 AM
Re: SSH root login on HPUX 11.31
Hello robaflx,
You may try debug the ssh session using # ssh -vvv root@server_name), which would give you more details on where it is failing and fix the same .
I am an HPE Employee (HPE Community)
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2022 04:42 AM - last edited on 05-31-2022 10:56 PM by Sunitha_Mod
05-30-2022 04:42 AM - last edited on 05-31-2022 10:56 PM by Sunitha_Mod
Re: SSH root login on HPUX 11.31
Hi georgek_1
I don't get more inforrmation with the debug option enabled.
Loging as normal user
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
normaluser@X.X.X.X's password:
debug3: packet_send2: adding 64 (len 59 padlen 5 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
Authenticated to X.X.X.X ([X.X.X.X]:22).
Loging in as root
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
root@X.X.X.X's password:
debug3: packet_send2: adding 64 (len 59 padlen 5 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentications that can continue: publickey,password,keyboard-interactive
Permission denied, please try again.
root@X.X.X.X's password:
Any other suggestions?
Thanks