HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

ssh

 
RAKUNTA
Frequent Advisor

ssh

Dear all,

we are using hp-ux 11i.v3,B.11.31. in rx8640.
How can i implement passwordless ssh sessions<
can any one guide us with all details(step by step)please ......
best Regards
rakunta
3 REPLIES

Re: ssh

It should be pretty similar to scp and a bunch of other threads on this topic:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1448074
unixnewbie
Advisor

Re: ssh

Please try the following:
ServerA and ServerB both should run the ssh daemons.To allow ServerA to SSH to ServerB without password


Login to the source server (server A)


# ssh-keygen -t rsa

accpet all defaults sttings.

This generates two files id_rsa.pub and id_rsa

Now,id_rsa.pub needs to be appended to the authorized_keys file on ServerB


Rename this file to some other name , for identification.

#mv id_rsa.pub _rsa.pub

copy this file to serverB.


# scp _rsa.pub ServerB:~/.ssh/_rsa.pub

Login to server B

move to the .ssh folder under your home directory


Take a backup of the file authorized_keys

#cp -p authorized_keys authorized_keys.backup

# cat _rsa.pub >> authorized_keys


Now try login from server A to B

Note: If you are implementing it first time there will not be any authorized_keys file. So you can simply rename the file id_rsa.pub _rsa.pub to authorized_keys
Repeat this process starting from server B to A to allow passwordless login from server B to A
Chandrahasa s
Valued Contributor

Re: ssh

Hi,

Go through attached document.


Chandra