- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ssh help
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
10-09-2008 05:18 AM
10-09-2008 05:18 AM
ssh help
I have been looking round the net and have found some good guides and followed them but I'm still having problem. Can someone help me please????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 05:59 AM
10-09-2008 05:59 AM
Re: ssh help
the basic procedure is to create keys and place them on the server that you are trying to log in to. the details of doing that vary depending upon what the client is.
also, having correct permissions on the directory containing the keys is critical.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 06:07 AM
10-09-2008 06:07 AM
Re: ssh help
To setup SSH public keys see Matti's directions in this thread --- he does a nice job of describing the simple procedure:
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1254688
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 06:16 AM
10-09-2008 06:16 AM
Re: ssh help
For example I've given up trying to get SSH to work without a password between Tru64. It just won't work (as far as I know). Unless you move to OpenSSH on Tru64 which is not an option as it breaks stuff :)
It's most likely not your issue but thought I'd mention it just in case.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 06:23 AM
10-09-2008 06:23 AM
Re: ssh help
I have now got this working between two Itanium servers, pretty straight forward. But we think the issue might lie on the customer's server so we have bounced the issue back to them now.
When its resolved I will let you know the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 06:30 AM
10-09-2008 06:30 AM
Re: ssh help
provide more information than "does not
work". "ssh -v [...] " output can be useful.
Unless you're _trying_ to waste everyone's
time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 07:24 AM
10-09-2008 07:24 AM
Re: ssh help
4% are for permissions of .ssh and authorized_keys. Compare them with the ones on the computers where ssh works normally.
4% for corruption of the keys and 2& - God knows 8)))
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 04:35 PM
10-09-2008 04:35 PM
Re: ssh help
1. copy/paste with vi splits the ONE line into several lines. Look at the authorized_keys file with wc. If there are 3 keys in the file, wc -lw will report 3 6 (3 lines, 6 words). Always start the vi session with :set wm=0 noai, then move from line to line to verify each entry is one big line.
2. The permissions for the .ssh directory as well as the contents must all zeros for group and world:
chmod 700 $HOME/.ssh
chmod 600 $HOME/.ssh/*
3. Some versions of Secure Shell do not put the key type (ssh-dss for example) in front of their public key. Be sure each key has the key type first on the line, then a space, the actual key and finally a comment on where the key originated.
You can get some debug information using ssh -vvv
Bill Hassell, sysadmin