- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh not working
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
07-02-2003 08:49 AM
07-02-2003 08:49 AM
ssh not working
Could not load host key: /usr/local/etc/openssh/ssh_host_key
Could not load host key: /usr/local/etc/openssh/ssh_host_rsa_key
Could not load host key: /usr/local/etc/openssh/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.
so I tryed to create the rsa and dsa by using:
ssh-keygen -t rsa -f /usr/local/etc/openssh/ssh_host_rsa_key
ssh-keygen -t dsa -f /usr/local/etc/openssh/ssh_host_dsa_key
no luck! same error when I run sshd.
thanks for the help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 09:09 AM
07-02-2003 09:09 AM
Re: ssh not working
http://docs.hp.com/hpux/onlinedocs/T1471-90006/00/00/12-con.html
Looks strange that ssh can't load these keys,they are created upon install time.Probably not so good install?
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 09:12 AM
07-02-2003 09:12 AM
Re: ssh not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 09:16 AM
07-02-2003 09:16 AM
Re: ssh not working
This is probably a permissions issue. Pay close attention to what Chris says about permissions.
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
07-02-2003 09:26 AM
07-02-2003 09:26 AM
Re: ssh not working
ssh use 2 keys - private and public.Go to
/usr/local/etc/openssh (or where keys are stored) and check for *.pub files.If they aren't sshd wouldn't boot.I guess they should
be created with ssh-keygen.By the way - does
ssh-keygen say something after you run it?Probably need more options (like -N "" ) or else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 09:34 AM
07-02-2003 09:34 AM
Re: ssh not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 07:52 PM
08-22-2003 07:52 PM
Re: ssh not working
I got the same message.
You have to regenerate your keys:
ssh-keygen -t rsa -f /usr/local/etc/openssh/ssh_host_rsa_key
ssh-keygen -t dsa -f /usr/local/etc/openssh/ssh_host_dsa_key
But do NOT enter a passfrase, only press enter.
After that, if you want to run sshd with user root, you have to modify the configuration file(sshd_config):
uncomment this line and change to "no".
UsePrivilegeSeparation no
Good Luck!!