- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh reboots server
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
11-02-2003 08:37 PM
11-02-2003 08:37 PM
ssh reboots server
T1471AA_A.03.61.002_HP-UX_B.11.00_32+64.depot, PHCO_26089 libpam + libpam_unix cumulative patch, gettext 0.12, libiconv 1.9, openssl 0.9.7b, zlib 1.1.4.
The installation for all depots went fine and the sshd daemon starts okay.
However, when I try and connect from any client PC to the HP-UX server, the server hangs and then reboots itself, which is quite annoying! I have openssh running on on a Redhat 9.0 server and don't have any problems connecting, from client pc's or the HP-UX server.
I ran in debug mode sshd -d -d :
# cd /opt/ssh/sbin
# sshd -d -d
debug2: read_server_config: filename /opt/ssh/etc/sshd_config
debug1: sshd version OpenSSH_3.6.1p2
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: Bind to port 22 on 0.0.0.0.
Bind to port 22 on 0.0.0.0 failed: Address already in use.
Cannot bind any address.
So I then tried to use a different port - sshd -d -p 9999, and connecting to the server from a client pc using port 9999 : ssh hp-server -p 9999
I managed to get a prompt, but as soon as I type in my password the server reboots!!
Please help!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2003 09:48 PM
11-02-2003 09:48 PM
Re: ssh reboots server
If you install openssh from the HPUX Porting and Archive centre (http://hpux.cs.utah.edu) then you need to install all those dependcies too, but not if you use HP's version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2003 10:46 PM
11-02-2003 10:46 PM
Re: ssh reboots server
Thanks, craig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2003 11:05 PM
11-02-2003 11:05 PM
Re: ssh reboots server
I would put the sshd daemon in debug mode
sshd -d (or even -ddd for higher debug mode).
This will only allow one connection, but at least you may see what's going on.
Also you can put the client in debug mode as well:
ssh -v (-vvv)
To get some insight from that end as well.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 03:49 AM
11-03-2003 03:49 AM
Re: ssh reboots server
I have run both client and server in debug mode and still get the same problem. I have noticed that the server does not reboot when I try and login as root . root login is disabled on our sever apart from on the console (as it should be) but at least the system seems to authenticate the root password because the /etc/motd is displayed just before the message saying access denied. The debug mode didn't seem to throw up any obvious errors, but then again I'm not really sure what I should be looking for?
help very much appreciated.
cp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 06:05 AM
11-03-2003 06:05 AM
Re: ssh reboots server
if it is so, put all the ip address in /etc/hosts and try ,once again..
Thanks
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 11:44 PM
11-03-2003 11:44 PM
Re: ssh reboots server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 12:45 AM
11-04-2003 12:45 AM
Re: ssh reboots server
PHCO_25527 was replaced by PHCO_26089.
These two patches have many dependencies as well. (This is all required patches including dependencies.)
PHCO_21187, PHCO_23651, PHCO_23791, PHNE_28567,
PHCO_24189, PHCO_26089, PHCO_26111, PHCO_28425,
PHCO_28630, PHKL_18543, PHKL_20016, PHKL_20202,
PHKL_22589, PHKL_22677, PHKL_23226, PHKL_23409,
PHKL_23842, PHKL_27980, PHKL_28150, PHKL_28766,
PHKL_29434, PHNE_21767, PHNE_27902
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 12:51 AM
11-04-2003 12:51 AM
Re: ssh reboots server
Try running lsof -i :22
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2003 03:49 AM
11-05-2003 03:49 AM
Re: ssh reboots server
Diolch yn fawr i pawb!!
Thanks for all your help!