1834319 Members
2187 Online
110066 Solutions
New Discussion

Re: Passwordless SCP

 
M.Thomas
Frequent Advisor

Passwordless SCP

we want to establish a passwordless SCP connection between our HP-UX and solaris boxes for user "Oracle". Can someone guide me here please.

Thanks

Thomas
5 REPLIES 5
Ivan Krastev
Honored Contributor

Re: Passwordless SCP

Peter Godron
Honored Contributor

Re: Passwordless SCP

Thomas,
please see Steven attachment answer at the bottom of this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=350906
IT_2007
Honored Contributor

Re: Passwordless SCP

Login as Oracle on HP-UX server and then issue following commands:

hpux:$ ssh-keygen -t rsa
hpux:$ scp .ssh/id_rsa.pub Solaris:/home/oracle/.ssh/authorized_keys

Matt Hearn
Regular Advisor

Re: Passwordless SCP

IT2007, that's a little dangerous if someone had already set up some stuff in authorized_keys. All that would be wiped out. Better off just scping the file over and then cat id_rsa.pub >> authorized_keys.
M.Thomas
Frequent Advisor

Re: Passwordless SCP

OK i just found that user oracle uses "oracle" on one box and oravst on another Box. would it still be possible to setup since otracle id is not the same on two boxes?

Thanks

Thomas