- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unable to SSH .
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
09-11-2006 05:46 AM
09-11-2006 05:46 AM
# ssh -v -v -v sdapca9
Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to sdapca9 [109.99.254.63] port 22.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 05:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 05:55 AM
09-11-2006 05:55 AM
Re: Unable to SSH .
/sbin/init.d/sshd start
/usr/local/sbin/sshd
they both hang...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 05:57 AM
09-11-2006 05:57 AM
Re: Unable to SSH .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 05:57 AM
09-11-2006 05:57 AM
Re: Unable to SSH .
/* on_soapbox */
I would hope that you would refrain from titles and subject body's with "Claim your many points here" and such.
In my opinion, it demeans what our collective, principal objective is all about.
/* off_soapbox */
Thanks & Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 05:58 AM
09-11-2006 05:58 AM
Re: Unable to SSH .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 06:05 AM
09-11-2006 06:05 AM
Re: Unable to SSH .
swlist -l fileset | grep -i secure
what does it show.
PS. I have to agree with James Ferguson about the points aspect. If people are responding to your requests for points, it is not the true spirit. If you assigning 10 points to every each answer, not only the one providing the real solution, you will attract a lot of, what I call "point collectors" with no actual knowledge about the subject. And we all know there are plenty of these people around, ruining the system. Points should be the measure of quality not quantity. Off my soapbox too.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 06:06 AM
09-11-2006 06:06 AM
Re: Unable to SSH .
Please send the output for:
ssh -v
It might give you and idea of what is wrong with that thing.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 07:30 AM
09-11-2006 07:30 AM
Re: Unable to SSH .
(Soapbox: Please score the answers according to how effective they are in solving your problem. That's how everyone can later use the scores to find the _best_ solutions.)
OK, it appears that sshd is somewhat broken on your sdapca9 system.
Which is the OS version on that system?
Does the system have an ipfilter or some other packet filter/firewall installed?
A situation where traffic to port 22 is DROPped looks just like your situation.
A packet filter with a very draconian configuration may block localhost traffic too.
Does that system have /dev/random and /dev/urandom?
If it doesn't, sshd should spawn some child processes when it starts up. Those processes gather random number by doing things like "df", "netstat -an", "ps" with various options or "vmstat". (man ssh-rand-helper, then see the ssh_prng_cmds file to find out the commands it runs).
If something causes these child processes to hang, it may prevent sshd from completing start-up. Look for NFS mounts from servers that are unreachable, or disks gone bad in an apparently-infinite retry loop. If you find one of those, fix it first, worry about sshd after that. If you need a work-around, find out the command that's causing trouble and comment it out of ssh_prng_cmds.
If this doesn't help (or if you have /dev/random, making your system almost more resistant to random-number-generation problems), stop all sshd processes and then start sshd in debug mode:
/usr/local/sbin/sshd -d
When you do this, sshd does not become a daemon and it will only accept one connection before stopping. It will also output very much debug information to your session.
Things to check:
- does it output the message "Server listening on [...] port 22"?
- if it does, what happens when someone tries to log in using SSH?
- if it detects the login attempt and goes through the authentication process, does it get to the point where it outputs the message "Entering interactive session [...]"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 07:54 AM
09-11-2006 07:54 AM
Re: Unable to SSH .
Is SSHD_START=1 in /etc/rc.config.d/sshd?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 08:33 AM
09-11-2006 08:33 AM
Re: Unable to SSH .
Chapter 5 Troubleshooting HP-UX Secure Shell
http://docs.hp.com/en/T1471-90024/ch05.html
SSH faq:
http://docs.hp.com/en/6073/FAQ-SSH.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 09:14 AM
09-11-2006 09:14 AM
Re: Unable to SSH .
There appears to be a hung NFS process. bdf hangs... some strangness. Could this have something to do with the ssh problem?
It's running 11.11 but I am going to install the latest and the greatest 11.23, so I think the ssh problems will become a moot point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 09:16 AM
09-11-2006 09:16 AM
Re: Unable to SSH .
Thanks for the long reply Matti, et al, I will definitely save it for future reference.