- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Automating SSH logins
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
03-24-2003 01:35 PM
03-24-2003 01:35 PM
Automating SSH logins
We have a Red Hat Linux 8.0 server that we want to be able to log into an HP-UX 10.20, and HP-UX 11.00 server via SSH. The idea is to have this done automatically.
On the Linux server, the ssh-keygen ap-plication was run as the user account to be used for the connection with the authorized _keys2 file being generated. This file was copied to the user account's home directory on the HP-UX 10.20 machine.
On the HP-UX 10.20 machine, the ssh-keygen -t rsa command was run again as the user account that will be running the ssh connection. The id_rsa keys were created.
The problem that I'm having is this: no matter what I do, whenever I try to run SSH as the user account in question, I am also prompted for the password. The verbose mode readout indicates that SSH is looking for the identity and rsa files in the .ssh directory. They are there. What's going on?!?!?!?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 01:39 PM
03-24-2003 01:39 PM
Re: Automating SSH logins
You will get more details if you run "sshd" in the debug mode on the server side.
#sshd -d
Then try connecting to this box from the remote system and see what messages scroll down.
This could most probably be the permission issues on the home directory and|or .ssh directory of the user.
Look at your sshd_config file and see if the "strictModes" has been set to yes. If so, then you will have to fix the permissions . It is not recommended to turn off this feature as obviously you are security oriented since you are using ssh.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 01:42 PM
03-24-2003 01:42 PM
Re: Automating SSH logins
I just wanted to confirm that you ran ssh-keygen on the linux box and copied the keys into the authorized_keys file on the hp-ux server and vice versa.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 01:44 PM
03-24-2003 01:44 PM
Re: Automating SSH logins
Attached.
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
03-24-2003 02:08 PM
03-24-2003 02:08 PM
Re: Automating SSH logins
Stephen--at least spell my name right!
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 05:39 PM
03-24-2003 05:39 PM
Re: Automating SSH logins
Sincerely,
Steven
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com