1830898 Members
3080 Online
110017 Solutions
New Discussion

SSH and .rhosts Help

 
somemore
Occasional Contributor

SSH and .rhosts Help

Dear All,

Kindly help me to undertand the concepts of
ssh Login and scp copy from the remote system
and how to give the rlogin by editing .rhosts
file. Kindly give the exple.

Thanks

Nags
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: SSH and .rhosts Help


ssh, or ssh2??

ssh -V

You meant .shosts, correct (for ssh2)??

man ssh

live free or die
harry d brown jr
Live Free or Die
Zeev Schultz
Honored Contributor

Re: SSH and .rhosts Help

man sshd,scp
The point is not to use .rhosts,you have this
in the usual system.
Basically,install ssh,edit sshd_config on the server and enable: RhostsAuthentication.
Sshd man page explains all.
So computers don't think yet. At least not chess computers. - Seymour Cray
Ralph Grothe
Honored Contributor

Re: SSH and .rhosts Help

Enabling Rhosts Authentication somewhat defeats the purpose of SSH.
So no one usually wants this.
But if you insist clinging to it,
edit the sshd_config file
(for "HP Secure Shell" usually in
/opt/ssh/etc)
and add this line for protocol 2

HostbasedAuthentication yes

or for protocol 1

RhostsRSAAuthentication yes

and signal your SSH server like

# kill -1 $(cat /var/run/sshd.pid)

Madness, thy name is system administration
Chris Vail
Honored Contributor

Re: SSH and .rhosts Help

Attached is my usual document that covers this sort of thing. Its easier done than said. Just follow it step-by-step.

You should NOT use .rhosts or anything like it; they're just NOT secure.


Chris
Gordon  Morrison
Trusted Contributor

Re: SSH and .rhosts Help

Here's my usual doc:
What does this button do?