let ssh obey ~/.rhost or ~/.shosts

let ssh obey ~/.rhost or ~/.shosts

Post by Jayasutha » Sat, 04 Aug 2001 15:52:46



Hi,

I could i enable sshd of OpenSSL to respect ~/.rhosts or ~/.shosts.. I
am during filesystem sync. between two server using "ssh" and "rsync".

please help..thanks

--
----
Jayasuthan
System Specialist
Fairchild Semiconductor
6-04-8502630

 
 
 

let ssh obey ~/.rhost or ~/.shosts

Post by Bill Unr » Sat, 04 Aug 2001 03:47:04



]Hi,

]I could i enable sshd of OpenSSL to respect ~/.rhosts or ~/.shosts.. I
]am during filesystem sync. between two server using "ssh" and "rsync".

]please help..thanks

You do not need .rhosts. Just use the rsa authentication mechanism-- Ie,
place the public key of yourself on machine 1 into
~/.ssh/authorized_keys of machine 2.
Much more secure than .rhosts.
If youstill really want to use rhosts, then edit /etc/ssh/sshd_config to
allow rhosts authentication.

]--
]----
]Jayasuthan
]System Specialist
]Fairchild Semiconductor
]6-04-8502630

 
 
 

let ssh obey ~/.rhost or ~/.shosts

Post by Dean Thompso » Sat, 04 Aug 2001 13:35:53


Hi!,

Quote:> I could i enable sshd of OpenSSL to respect ~/.rhosts or ~/.shosts.. I
> am during filesystem sync. between two server using "ssh" and "rsync".

> please help..thanks

You just need to alter your sshd_config file to allow rhost authentication,
this should do the trick.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

1. SSH troubles with .rhosts and .shosts

Hi,

I've got 2 machines working with RH7. I've put in the /root/.rhosts an
/root/.shosts files of my first machine (server) a line related to the
second machine (client) :
192.168.0.40  root
I've put also in the /etc/hosts.equiv and etc/shost.equiv a similar line
But when I try to ssh to the first machine from my second machine as root,
I've to enter password. Does someone could help me.

Thanks a lot,


2. remote X server

3. PPP question

4. ssh and .rhosts or .shosts

5. mac programs in linuxppc ?

6. Rhosts/shosts for OpenSSH 3.4p1

7. Secure NNTP in Linux: How?

8. ssh 1.2.26 + pam + shosts problem on RedHat 5.2

9. To .rhosts or not to .rhosts - which is safer

10. rsh as root - no password - /.rhosts or /root/.rhosts doesn't work?

11. Let ssh be more informative?

12. firewall rule to let ssh access the server??