Operating System - HP-UX
1753602 Members
6175 Online
108796 Solutions
New Discussion юеВ

Re: rcp and ssh with out password

 
Philemon_2
Frequent Advisor

rcp and ssh with out password

Hello Team,

I need to grant a user rcp and ssh access from server 'A' server to 'B'. User should be able to access with out password, how I will do this. Could you please share your valuable thoughts to fix the issue?

Thanks in advance

Thanks,
Phil
2 REPLIES 2
Steven Schweda
Honored Contributor

Re: rcp and ssh with out password

What are "server 'A'" and "server 'B'"?

uname -a

RCP?
man rcp
man rhosts

SSH?
man ssh

There must be dozens (if not hundreds) of
Forum threads where someone has explained
passwordless SSH configuration. Did you
look before you asked?
Rita C Workman
Honored Contributor

Re: rcp and ssh with out password

To set up the unsecured method the user home account would have an .rhost file.
The .rhost file on serverA would contain:
serverB

And on serverB you would create the exact reverse.

man rhosts

For SSH alot more is involved. You must create certifications keys and put the public cert key on the remote server.
man ssh

Kindest regards,
Rita