- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Public Key and 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
01-08-2003 06:51 AM
01-08-2003 06:51 AM
Public Key and ssh
I'm working on hp-ux 11 with openssh A.03.10.002.
The authmethod password works.
But i try to use public key auth method and it doesn't work.
I have generate the keys and sent the public key on the remote machine.
the verbos ssh gives this lines :
...
debug3: Not a RSA1 key file /home/bull/.ssh/id_dsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: no key found
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: no key found
debug1: identity file /home/bull/.ssh/id_dsa type 2
...
debug3: remaining preferred: publickey,keyboard-interactive,password
debug3: authmethod_is_enabled gssapi
debug1: next auth method to try is gssapi
debug2: we did not send a packet, disable method
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: next auth method to try is publickey
debug1: try pubkey: /home/bull/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: authentications that can continue: external-keyx,gssapi,publickey,password,keyboard-interactive
debug1: try pubkey: /home/bull/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
...
What have I to do ??
thnks for help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:15 AM
01-08-2003 07:15 AM
Re: Public Key and ssh
What does the file authorized_keys look alike? Does it have the correct syntax?
It should just start with the key length or the encryption type and the end of the line has the form of an email address.
Are there additional lines in it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:25 AM
01-08-2003 07:25 AM
Re: Public Key and ssh
$ ssh remote-host "cat ~/.ssh/identity.pub" >> ~/.ssh/authorized_keys
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:27 AM
01-08-2003 07:27 AM
Re: Public Key and ssh
I have watch the var/adm/syslog/syslog.log ont the remote machine.
In first, ther was ap problem of mode on this files.
I correct them.
Now i have the message : "Failed publickey for bull from 192.168.2.3"
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:45 AM
01-08-2003 07:45 AM
Re: Public Key and ssh
I verify the mode of the files and now it's working.
Thanks for our help and sorry for disturbing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 07:49 AM
01-08-2003 07:49 AM
Re: Public Key and ssh
$ nslookup 192.168.2.3
What does
$ ssh -v remote-host
print? Are there other entries in ~/.ssh/authorized_keys?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 08:07 AM
01-08-2003 08:07 AM
Re: Public Key and ssh
I clean teh authorized_keys and the authorized_keys2 and verify teh mode and the owner and now it works good
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 08:12 AM
01-08-2003 08:12 AM