- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can not login to Secure Shell
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-11-2005 12:13 AM
05-11-2005 12:13 AM
Can not login to Secure Shell
I'm a Linux guy just happened to be an administrator fox a HP-UX server in my network.
The first thing I want to do is to change the remote shell method from the default (insecure) telnet to ssh with HP Secure Shell. I used the default setting in /opt/ssh/etc/sshd_config. Unfortunately, anytime I tried to ssh into my server, it always returns "Wait for login exit:...". In /var/adm/syslog/syslog.log, there was some lines:
May 11 18:48:45 SVR sshd[4426]: Could not reverse map address 192.168.100.20.
May 11 18:48:48 SVR sshd[4426]: Accepted keyboard-interactive for [remove] from 192.168.100.20 port 35230 ssh2
We can see that ssh ACCEPTED my connection. I tried another non-root account, the result was the same. I can telnet to my server with these accounts without any problem.
Even when I reconfiged ssh to use the Publickey authentication, I still could not use ssh.
Please help.
-T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 12:20 AM
05-11-2005 12:20 AM
Re: Can not login to Secure Shell
This sounds like a name resolution issue. I think your HP server running SSHD must be able to resolve your client IP address to a hostname before it will give you access.
You can either try adding your dns server to /etc/resolv.conf or add an entry in the hosts file.
Hope that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 12:33 AM
05-11-2005 12:33 AM
Re: Can not login to Secure Shell
Its not very common to provide reverse lookup data for internal networks.
Two solutions:
1) Change Secure Shell (openssh) configuration to standard and not require reverse dns records
2) Provide reverse dns database on your dns server.
It could also simply be a hostname resolution issue solved with proper dns database entries or /etc/host records.
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
05-11-2005 12:34 AM
05-11-2005 12:34 AM
Re: Can not login to Secure Shell
Gerald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 12:34 AM
05-11-2005 12:34 AM
Re: Can not login to Secure Shell
The output might be helpful.
But probably the resolv.conf/host hint is helpful enough :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 01:01 AM
05-11-2005 01:01 AM
Re: Can not login to Secure Shell
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 01:09 AM
05-11-2005 01:09 AM
Re: Can not login to Secure Shell
The problem is solved, when I run ssh -v, it reported that I use X11Forwarding yes which conflict with UseLogin yes, so I commented out UseLogin yes and everything just works like a charm.
Thx you guys all!
-T
PS: Where can I find documentation about HP-UX system administration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 01:18 AM
05-11-2005 01:18 AM
Re: Can not login to Secure Shell
http://docs.hp.com
An "HP Certified" book, even if you're not planning on getting certified, would also come in handy.
-denver