- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SSHD config
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
Discussions
Discussions
Discussions
Forums
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
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
тАО08-21-2008 06:00 PM - last edited on тАО03-29-2013 12:13 AM by Cathy_xu
тАО08-21-2008 06:00 PM - last edited on тАО03-29-2013 12:13 AM by Cathy_xu
SSHD config
after adding parameter "AllowUsers" on /opt/ssh/etc/shd_config, i am unable to login via SSH. below are the rrors on syslog:
Aug 22 09:32:30 MIH-DEVT sshd[14498]: User Paul from 192.168.10.51 not allowed because not listed in AllowUsers
Aug 22 09:32:30 MIH-DEVT sshd[14498]: Failed none for invalid user Paul from 192.168.10.51 port 1467 ssh2
Aug 22 09:32:33 MIH-DEVT sshd[14498]: error: PAM: Authentication failed for illegal user Paul from 192.168.10.51
Moved from HP-UX Technical Documentation to HP-UX >security
- Tags:
- ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2008 07:22 PM
тАО08-21-2008 07:22 PM
Re: SSHD config
> /opt/ssh/etc/shd_config
"sshd_config"? And what, exactly, did you
add to it? If all you did was add a line
which said "AllowUsers", without mentioning
any users to allow, then I'd expect sshd to
reject all users.
> [...] User Paul from 192.168.10.51 not
> allowed because not listed in AllowUsers
Seems pretty clear to me. Of course, my
psychic powers are too weak to tell me what's
actually in your config file, so it's hard to
say for sure if that's the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2008 08:14 PM
тАО08-21-2008 08:14 PM
Re: SSHD config
Please post the sshd_config file.
Its not got anything really secret in it unless you have hard coded the root password or something.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2008 02:48 AM
тАО09-12-2008 02:48 AM
Re: SSHD config
AllowUsers:
This keyword can be followed by a list of user name patterns,
separated by spaces. If specified, login is allowed only for
user names that match one of the patterns. `*' and `?' can be
used as wildcards in the patterns. Only user names are valid; a
numerical user ID is not recognized. By default, login is
allowed for all users. If the pattern takes the form USER@HOST
then USER and HOST are separately checked, restricting logins to
particular users from particular hosts.
so u have to specify username seperated by spaces. if u dont specify any username it wont allow anyone.