- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh stopped working after depo patch update on hp ...
Operating System - HP-UX
1753796
Members
6909
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-03-2011 12:57 AM
тАО05-03-2011 12:57 AM
ssh stopped working after depo patch update on hp 11.23
accept 'root' it is not allowing any user to login. we use sshd2 for login.
It authenticate & then immediately disconnect the user. Please help based on ur exp.
It authenticate & then immediately disconnect the user. Please help based on ur exp.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2011 03:57 AM
тАО05-03-2011 03:57 AM
Re: ssh stopped working after depo patch update on hp 11.23
try calling the ssh client in verbose mode:
# ssh -v
# ssh -vv
# ssh -vvv
what's in /var/adm/syslog/syslog.log ? any related messages to this sshd problem?
# ssh -v
# ssh -vv
# ssh -vvv
what's in /var/adm/syslog/syslog.log ? any related messages to this sshd problem?
****
Unix operates with beer.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2011 05:04 AM
тАО05-04-2011 05:04 AM
Re: ssh stopped working after depo patch update on hp 11.23
What ssh package are you running?
What patch(es) was it?
Why would it affect ssh?
In addition to 'ssh -v', you can run the daemon sshd in debug mode:
You would run it on a different port than :22.
It is a one-off execution; that is, it accepts one login and then terminates.
E.g., using port :922
check for available port
(:22 is normal)
Pine3 ## netstat -an | grep LISTEN | grep '\.22'
tcp 0 0 *.22 *.* LISTEN
tcp 0 0 *.22 *.* LISTEN
so we have our normal sshd listening on port :22.
Pine3 ## netstat -an | grep LISTEN | grep '\.922'
<>
so port :922 is available.
NOTE: the following sshd command runs in foreground and will tie up this particular screen/login, so you'll need multiple existing logins to test from this system,
or must test it with ssh -v from another system.
Pine3 ## sshd -p 922 -d
sshd re-exec requires execution with an absolute path
Pine3 ## which sshd
/usr/sbin/sshd
Pine3 ## /usr/sbin/sshd -p 922 -d
debug1: Config token is protocol
debug1: Config token is kerberosauthentication
....
My screen for this login is now tied up and dumping sshd debug info.
Verify that our debug guy is running on port :922
Pine3 ## netstat -an | grep LISTEN | grep '\.922'
tcp 0 0 *.922 *.* LISTEN
tcp 0 0 *.922 *.* LISTEN
test non-root login
Pine3 ## ssh -v bobv@pine3 -p 922
OpenSSH_5.1p1+sftpfilecontrol-v1.2-hpn13v5, OpenSSL 0.9.7m 23 Feb 2007
HP-UX Secure Shell-A.05.10.007, HP-UX Secure Shell version
...
You'll see debug output on BOTH the ssh -v screen and the sshd -d screen.
You could use the is opportunity to download (free) and install the latest HP ssh package.
https://h20392.www2.hp.com/portal/swdepot/displayProductsList.do?category=ISS
then
HP-UX Secure Shell
You can get other nice tools, like
MD5 Secure Checksum
Also a bunch of open source stuff (can select individually) out of "Internet Express", like 'lsof'.
bv
What patch(es) was it?
Why would it affect ssh?
In addition to 'ssh -v', you can run the daemon sshd in debug mode:
You would run it on a different port than :22.
It is a one-off execution; that is, it accepts one login and then terminates.
E.g., using port :922
check for available port
(:22 is normal)
Pine3 ## netstat -an | grep LISTEN | grep '\.22'
tcp 0 0 *.22 *.* LISTEN
tcp 0 0 *.22 *.* LISTEN
so we have our normal sshd listening on port :22.
Pine3 ## netstat -an | grep LISTEN | grep '\.922'
<
so port :922 is available.
NOTE: the following sshd command runs in foreground and will tie up this particular screen/login, so you'll need multiple existing logins to test from this system,
or must test it with ssh -v from another system.
Pine3 ## sshd -p 922 -d
sshd re-exec requires execution with an absolute path
Pine3 ## which sshd
/usr/sbin/sshd
Pine3 ## /usr/sbin/sshd -p 922 -d
debug1: Config token is protocol
debug1: Config token is kerberosauthentication
....
My screen for this login is now tied up and dumping sshd debug info.
Verify that our debug guy is running on port :922
Pine3 ## netstat -an | grep LISTEN | grep '\.922'
tcp 0 0 *.922 *.* LISTEN
tcp 0 0 *.922 *.* LISTEN
test non-root login
Pine3 ## ssh -v bobv@pine3 -p 922
OpenSSH_5.1p1+sftpfilecontrol-v1.2-hpn13v5, OpenSSL 0.9.7m 23 Feb 2007
HP-UX Secure Shell-A.05.10.007, HP-UX Secure Shell version
...
You'll see debug output on BOTH the ssh -v screen and the sshd -d screen.
You could use the is opportunity to download (free) and install the latest HP ssh package.
https://h20392.www2.hp.com/portal/swdepot/displayProductsList.do?category=ISS
then
HP-UX Secure Shell
You can get other nice tools, like
MD5 Secure Checksum
Also a bunch of open source stuff (can select individually) out of "Internet Express", like 'lsof'.
bv
"The lyf so short, the craft so long to lerne." - Chaucer
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP