- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- error: PAM: Authentication failed for xxxxx.
-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
12-07-2020 03:37 AM
12-07-2020 03:37 AM
error: PAM: Authentication failed for xxxxx.
We're seeing the following errors when attempting to SFTP to a HP-UX system running B.11.31 from VMS Blade and other HP-UX servers (but are able to successfully SFTP to the same server using other accounts), and wondering whether issue is permission related (As note the user Agritkon on destination server is setup with restricted login shell of /usr/bin/false
Error seen when connecting from another HP-UX server
ukxxxx:/#sftp agritkon@ukxxxx
Password:
Password:
Password:
agritkon@ukxxxx's password:
Permission denied, please try again.
Error seen when connecting from VMS O/S Blade server
ftp agritkon@ukxxxx
warning: Authentication failed.
Disconnected; no more authentication methods available (No further authenticatio
n methods available.).
FATAL: ssh2 client failed to authenticate. (or you have too old ssh2 installed, check with ssh2 "-V")%TCPIP-F-SSH_FATAL, non-specific fatal error condition
Error displayed in syslog.log on destination server
Dec 2 11:07:24 ukxxxx sshd[19657]: error: PAM: Authentication failed for agritkon from ukxxxx.xxx.xxx.com
Dec 2 11:08:06 ukxxxx sshd[19657]: Failed password for agritkon from 10.x.x.x port 55197 ssh2
As i mentioned above, we can SFTP and SSH to the same server using other accounts , but note that none of the accounts have a restricted shell like Agritkon below. My understanding was that provided the associated login shell is included in /etc/shells (which it is) then SFTP should work under that account ?
ukxxxxx:/#cat /etc/passwd | grep agritkon
agritkon:*:4001:4001:xxxxxxxxxxxxx,,:/agritkon/./:/usr/bin/false
The SFTP subsystem is setup as follows ...
ukxxxxx:/#cat sshd_config | grep Sub
Subsystem sftp /opt/ssh/libexec/sftp-server
I have seen a couple of posts in which they mention that sshd_config should include the following line ?
Subsystem sftp internal-sftp
but not sure whether that is the correct fix and/or how that fits in with our current configuration of below ?
Subsystem sftp /opt/ssh/libexec/sftp-server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-09-2020 01:59 AM
12-09-2020 01:59 AM
Re: error: PAM: Authentication failed for xxxxx.
I would be grateful for anyones feedback on this as issue remains unresolved
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP