- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ssh question
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
Discussions
Discussions
Forums
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
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-05-2009 04:54 PM
тАО11-05-2009 04:54 PM
ssh question
copied dsa key to sun servers authorized key - still it's prompting for the passwd.
1) checked the permissions of .ssh and authorized keys on target servers
2) this is for root user...
any idea .
target servers ssh version
OpenSSH_3.7, SSH protocols 1.5/2.0, OpenSSL 0.9.7c 30 Sep 2003
HP-UX_Secure_Shell-A.03.71.006.%ic71N, HP_UX Secure Shell version
source server
ssh: F-Secure SSH 3.3.0 (build 14) on sparc-sun-solaris2.8
Much appreciated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2009 05:16 PM
тАО11-05-2009 05:16 PM
Re: ssh question
> key - still it's prompting for the passwd.
Add "-v" to an ssh command, and show us the
output.
> 1) checked the permissions [...]
I'm glad that you're happy, but actual
evidence ("ls -l", say) might be more
persuasive.
A Forum search for "ssh" would find many old
threads with similar questions/problems (and
solutions). Did you look?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2009 08:34 PM
тАО11-05-2009 08:34 PM
Re: ssh question
So, not Sun's SSH. (Also, pretty old.) If
this SSH product follows the SSH2 pattern
instead of the OpenSSH pattern, then OpenSSH
key files (like what you would have on your
HP-UX system) and other set-up details may
not work on the Solaris system.
Again, many old Forum threads discuss SSH key
file conversion. If you have any
documentation on this SSH product, it may
reveal something. Worst case, generate a set
of key files on the Solaris system, and see
if they look anything like the key files on
the HP-UX system. If not, then they may need
conversion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2009 09:14 AM
тАО11-06-2009 09:14 AM
Re: ssh question
I believe none of them should be group writable, not to mention all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2009 09:30 AM
тАО11-06-2009 09:30 AM
Re: ssh question
pretty old SSH versions.
anyways, permissions of $HOME/.ssh should not be group writable.
to make password less SSH.
1) generate keys on the HP (client) server.
2) copy the dsa.pub keys to $HOME/.ssh/authorized_keys on the SUN (source) server.
3) Now, do ssh and let it add the add to the known_hosts file.
if it does not work out. then please paste the output of 'ssh -v' here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2009 09:47 AM
тАО11-06-2009 09:47 AM
Re: ssh question
"Since it says checking the permission, then you need to check them. They are $HOME/.ssh, $HOME/.ssh/authorized_keys, and $HOME."
ssh never said anything....the OP *said* that *he* checked them. No proof of that, or list of what they are.
Vishu:
"anyways, permissions of $HOME/.ssh should not be group writable.
to make password less SSH.
1) generate keys on the HP (client) server.
2) copy the dsa.pub keys to $HOME/.ssh/authorized_keys on the SUN (source) server.
3) Now, do ssh and let it add the add to the known_hosts file."
Permissions on $HOME/.ssh (and the files within), as well as $HOME all play a part. This can be bypassed if necessary by setting "StrictModes no" in sshd_config file.
also, the OP seems to indicate that he's already done the bits you've suggested, but the connection doesn't work.
I'd *start* with debugging output, as Steven noted, otherwise everything is just guessing....and my crystal ball is out of service at the moment.
Also, google seems to turn up a lot of hits regarding F-Secure and OpenSSH connection issues. I suspect Steven is correct in that at least some of the details regarding keys between the two differ.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2009 11:19 AM
тАО11-06-2009 11:19 AM
Re: ssh question
Yup. From what I can see, all signs point to
F-Secure SSH using SSH2 key files.