Re: Restricitng SSH for CVS user
From: Denice DEATRICH (deatrich_at_lthipc5)
Date: 07/29/03
- Next message: Mica: "Re: Hiding files and encrypting stuff under Linux"
- Previous message: H. S.: "Re: iptables rules file in Redhat 8.0"
- In reply to: Kyler Laird: "Re: Restricitng SSH for CVS user"
- Next in thread: Kyler Laird: "Re: Restricitng SSH for CVS user"
- Reply: Kyler Laird: "Re: Restricitng SSH for CVS user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 29 Jul 2003 18:38:01 +0200
Kyler Laird <Kyler@news.Lairds.org> writes:
>deatrich@lthipc5 (Denice DEATRICH) writes:
>>>Who owns ~/.ssh/authorized_keys(2)?
>>You have options -- for example, root.
>Perhaps you'd like to tell us which servers you've verified as allowing this.
If I understand what you are asking: I've done this on RH 8 or 9.
A minimal home dir for the account would look like this, supposing
an account named testcvs (similar to a testing account I did last year).
Of course, the id_dsa* files don't need to be there; I just kept
them around for testing.
# ls -laR
.:
total 12
dr-x------ 3 testcvs 30001 4096 Jul 22 2002 .
drwxr-xr-x 4 root root 4096 Oct 20 2002 ..
dr-x------ 2 testcvs 30001 4096 Jul 22 2002 .ssh
./.ssh:
total 20
dr-x------ 2 testcvs 30001 4096 Jul 22 2002 .
dr-x------ 3 testcvs 30001 4096 Jul 22 2002 ..
-r--r----- 1 root 30001 711 Jul 22 2002 authorized_keys2
-r-------- 1 testcvs 30001 668 Jul 22 2002 id_dsa
-r--r--r-- 1 testcvs 30001 599 Jul 22 2002 id_dsa.pub
I just reran a test from a distant, older linux client, and the only thing I
needed to do for the above set up besides setting my CVS envir. variables
was to force ssh2 in the config file on my distant account. So in the remote
client I have (supposing that my server was named toto.somewhere.net):
$ cat ~/.ssh/config
#
Host toto.somewhere.net
Protocol 2
cheers,
denice
-- denice.deatrich @ epfl.ch, DSC / LTHC-LTHI, E.P.F.L. PH: +41 (21) 693 76 67 <*> This moment's fortune cookie: Can anyone remember when the times were not hard, and money not scarce?
- Next message: Mica: "Re: Hiding files and encrypting stuff under Linux"
- Previous message: H. S.: "Re: iptables rules file in Redhat 8.0"
- In reply to: Kyler Laird: "Re: Restricitng SSH for CVS user"
- Next in thread: Kyler Laird: "Re: Restricitng SSH for CVS user"
- Reply: Kyler Laird: "Re: Restricitng SSH for CVS user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|