Ce dossier couvre l’utilisation de SSH sous Windows.
Principe des clefs SSH
Comment générer sa clef
Sur le serveur
Restreindre l’accès
Dans le cas ou vous devez administrer de multiples serveurs retaper à chaque fois son mot de passe est pénible surtout quand on est déjà loge sur une machine sure. Mais les clefs ssh permette bien d’autre chose comme limiter l’accès a certaine commande.
Si vous étés sous Windows lisez plutôt cet article
Pour générer votre clef sous un système Unix tapez simplement :
Le programme vous demandera ensuite le fichier de destination, laissez la valeur par défaut. Puis il vous demandera une passphrase que vous laisserez vide puisque nous voulons nous passer de mot de passe.
ATTENTION : pour ne pas que l’on puisse vous prendre votre clef privée et pour ne pas pouvoir modifier votre clef publique (sinon vous ne pourrez plus la recréer) faite :
Copiez le contenu de .ssh/id_dsa.pub dans le fichier /home/votre_nom_d’utilisateur/.ssh/authorized_keys2 (il faudra peut-être créer le rep), on met une clef par ligne.
Désormais vous pourrez vous loger en ssh sur le serveur sans que celui si vous demande votre mot de passe.
Vous pouvez mettre des options [1] devant chaque clef [2] se trouvant dans authorized_keys2.
Il existe surtout deux options très utilisée :
from : permet de limiter l’accès en fonction de l’IP (ou du nom de domaine)
command : permet de restreindre l’utilisateur a certaine commande
Par exemple :
Va limiter l’accès aux personnes venant de 192.168.0.* (le réseau local) sauf 192.168.0.1 et celle si n’auront accès qu’aux commandes CVS.
Si vous voulez connaître toute les options disponibles faites :
[1] séparée par des virgules
[2] n’oubliez pas l’espace
This is really a good post for me. Thanks for posting this informative article.
Buy Aldara Online | Buy Famvir Online | Buy Generic Drugs
This is highly informatics, crisp and clear. I think that Everything has been described in systematic manner so that reader could get maximum information and learn many things
Buy Lexapro Online | Women Lingerie
Cet article provient de ces منتدى articles est très beau et utile, ainsi que parle Utilisation des clefs SSH C’est vraiment un excellent article
Cet article provient de صور ces articles est très beau et utile, ainsi que parle Utilisation des clefs SSH C’est vraiment un excellent article
Another great example of innovation, I am glad to find it. There are so many developers working on this segment but this is one of the best innovative idea ever. Thanks for sharing it here. krup
The of way prone scrubbing medium can tried by eliminate. xenical 120 He research procedure that controlled while patients. acheter xenical
Thanks for taking the time to discuss this I feel strongly about it and love learning more on this topic. If possible as you gain expertise would you mind updating your blog with more information ? as it is extremely helpful for me. online chat software
It seems that everybody is into this kind of stuff lately. Don’t really understand it though, but thanks for trying to explain it. Appreciate you shedding light into this matter. Keep up your work. live chat software
Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Thanks a lot for sharing. Keep blogging
I think this is very valuable information and great research i like this post very much you must visit this.new custom badges
Je voulais vous féliciter pour la belle présentation de vos articles.| lampadaire exterieur | lampadaire
Consider this point, before you start mobiao,juop anything you need to make sure that your site will be unable
There are many online stores having abercrombie and fitch sale, i believe you gonna like it ! Yesterday, my friend bought a Cheap Abercrombie which is so beautiful, i am surprised by the design and style.Do you have a pair of abercrombie outlet now ? if not, go to online store and have one, it is so amazing !!!
Hello,
sincèrement Je ne suis pas sur d’avoir pigé.
Casino en ligne gratuit
Hello, on ne conaissait pa ton page web, mais un copain en avait dit du bien dimanche. J’v ajouté ce page web vers facebook... ;) A bientôt ! Lindsay Rene Giraud
Pass4sure is a professional training website in IT certification exam, having great renown for providing high quality and comprehensive study materials among the IT learners and candidates. Its 24*7 services, 100% pass guarantee and free demo positioned its leading stand in the IT certification industry. The Most Popular Certifications List : Pass for Sure CCNA | Pass4sure CCIE | -YCX