- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rhosts auth in Openssh 2.9p1
Operating System - HP-UX
1819806
Members
2810
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-05-2001 03:21 AM
тАО07-05-2001 03:21 AM
Hi,
I'm running hpux 11 and trying to use .shosts with openssh to allow a more secure rcp. However I am still prompted for a password. Debug information shows the following error:
"Rhosts Authentication disabled, originating port not trusted".
I have setuid enabled on ssh, I have the fqdn in shosts, my permissions are correct.
Anyone got any suggestions?
Thanks
Mark
I'm running hpux 11 and trying to use .shosts with openssh to allow a more secure rcp. However I am still prompted for a password. Debug information shows the following error:
"Rhosts Authentication disabled, originating port not trusted".
I have setuid enabled on ssh, I have the fqdn in shosts, my permissions are correct.
Anyone got any suggestions?
Thanks
Mark
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2001 10:37 AM
тАО07-05-2001 10:37 AM
Re: rhosts auth in Openssh 2.9p1
I would check your sshd_config file, most likely located in /opt/openssh/etc. Try the following statements:
IgnoreRhosts no
RhostsAuthentication no
RhostsRSAAuthentication yes
RSAAuthentication yes
Hope it helps!
J.R.
IgnoreRhosts no
RhostsAuthentication no
RhostsRSAAuthentication yes
RSAAuthentication yes
Hope it helps!
J.R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2001 06:36 AM
тАО07-06-2001 06:36 AM
Solution
Mark,
You may also want to try using keys instead of shosts.
This is accomplished by using ssh-keygen to create a private key on client you are trying to connect from, and putting the public key on the server.
On the client, use ssh-keygen, and save the file into ~/.ssh/identity. A public file will also be created called ~/.ssh/identity.pub.
On the server you want to log into, create a file called ~/.ssh/authorized_keys, and place the contents of the identity.pub file into that one. (You may have to name the file authorized_keys2 -- i've seen it both ways in openssh2).
An example of what the authorized_keys2 file would look like is: (it is usually 1024 bytes long, most of it has been cut)
ssh-dss AAAAB3NzaC1kc3MAAAEBAJatwEvhUqb7LjhioadLllCB9Gdo7WhWwEqieof/CDl5lAg1wjcG2mwr3UznIfyz+gItdAiXCbZet0Qxokf1CA7Zo/GQdRFheCcE6YbdGBbXTxcPsoxP4/dXQypNE1/2+uf2fnG6PeYq/LTuE+QurirBiwbkBURoiMS0wFd414fnZu0qGSkhoKhvIzeYVtw== some@comment.here.com
... anc
You may also want to try using keys instead of shosts.
This is accomplished by using ssh-keygen to create a private key on client you are trying to connect from, and putting the public key on the server.
On the client, use ssh-keygen, and save the file into ~/.ssh/identity. A public file will also be created called ~/.ssh/identity.pub.
On the server you want to log into, create a file called ~/.ssh/authorized_keys, and place the contents of the identity.pub file into that one. (You may have to name the file authorized_keys2 -- i've seen it both ways in openssh2).
An example of what the authorized_keys2 file would look like is: (it is usually 1024 bytes long, most of it has been cut)
ssh-dss AAAAB3NzaC1kc3MAAAEBAJatwEvhUqb7LjhioadLllCB9Gdo7WhWwEqieof/CDl5lAg1wjcG2mwr3UznIfyz+gItdAiXCbZet0Qxokf1CA7Zo/GQdRFheCcE6YbdGBbXTxcPsoxP4/dXQypNE1/2+uf2fnG6PeYq/LTuE+QurirBiwbkBURoiMS0wFd414fnZu0qGSkhoKhvIzeYVtw== some@comment.here.com
... anc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2001 07:30 AM
тАО07-06-2001 07:30 AM
Re: rhosts auth in Openssh 2.9p1
Thank a lot guys,
Aaron - Thats exactly what I did in the end. I abandoned trying to get rhosts auth working and choose RSA instead, got it going in about 5 mins. Now scp is approx 8 times quicker than it's counterpart in ssh2 (and free)
Thanks again
Mark
Aaron - Thats exactly what I did in the end. I abandoned trying to get rhosts auth working and choose RSA instead, got it going in about 5 mins. Now scp is approx 8 times quicker than it's counterpart in ssh2 (and free)
Thanks again
Mark
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP