PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.security.ssh > ssh only for cvs and svn
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

ssh only for cvs and svn

Réponse
 
LinkBack Outils de la discussion
Vieux 29/09/2006, 12h43   #1 (permalink)
Sylvain Ferriol
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut ssh only for cvs and svn

hello
i want to reduce ssh login only for svn and cvs
how should i config sshd ?

thanks
sylvain
  Réponse avec citation
Vieux 29/09/2006, 13h22   #2 (permalink)
Pascal Bourguignon
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ssh only for cvs and svn

Sylvain Ferriol <sferriol@imag.fr> writes:
> i want to reduce ssh login only for svn and cvs
> how should i config sshd ?


sshd can be configured to accept incoming sessions only for users in
certain groups.

But users in these groups would be allowed to use ssh for anything
else than cvs or svn too.

So what you can do is to create alternate user accounts, with as login
shell some restricted shell that allows them only to use cvs (or svn).

Have a look at: http://www.informatimago.com/linux/c...d-ssh-cvs.html

--
__Pascal Bourguignon__ http://www.informatimago.com/

"What is this talk of "release"? Klingons do not make software
"releases". Our software "escapes" leaving a bloody trail of
designers and quality assurance people in its wake."
  Réponse avec citation
Vieux 30/09/2006, 15h32   #3 (permalink)
Nico
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ssh only for cvs and svn


Pascal Bourguignon wrote:

> Sylvain Ferriol <sferriol@imag.fr> writes:
> > i want to reduce ssh login only for svn and cvs
> > how should i config sshd ?

>
> sshd can be configured to accept incoming sessions only for users in
> certain groups.
>
> But users in these groups would be allowed to use ssh for anything
> else than cvs or svn too.
>
> So what you can do is to create alternate user accounts, with as login
> shell some restricted shell that allows them only to use cvs (or svn).
>
> Have a look at: http://www.informatimago.com/linux/c...d-ssh-cvs.html


You can also review the Subversion documentation and its notes on
setting up SSH authorized keys to *only* permit certain operations, by
limiting the command line options of that key. This is often used with
the SSH+svnserve setup.

Alternatively, Subversion permits HTTPS based access, but the UNIX
clients tend to store the user password locally in clear text: I
consider that a huge security misbehavior, and recommend the SSH based
access for exactly this reason.

CVS, I'd suggest you throw out immediately and switch over to
Subversion, if at all possible.

  Réponse avec citation
Vieux 02/10/2006, 11h25   #4 (permalink)
Sensei
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ssh only for cvs and svn

On 2006-09-29 13:43:31 +0200, Sylvain Ferriol <sferriol@imag.fr> said:

> hello
> i want to reduce ssh login only for svn and cvs
> how should i config sshd ?


You can modify the Restricted Shell in order to accept svn, currently
it accepts cvs.

--
Sensei <senseiwa@Apple's mail>

Research (n.): a discovery already published by a chinese guy one month
before you, copying a russian who did it in the 60s.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 14h31.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10331 seconds with 12 queries