[Debian] ssh et commande scp
Résolu/Fermé
bob031
Messages postés
8158
Date d'inscription
samedi 7 août 2004
Statut
Membre
Dernière intervention
1 septembre 2014
-
8 janv. 2008 à 20:57
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 - 1 mai 2009 à 19:25
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 - 1 mai 2009 à 19:25
A voir également:
- Scp host key verification failed
- Fichier host - Guide
- Key windows 10 gratuit - Guide
- Fichier .key ✓ - Forum Logiciels
- Show key plus - Télécharger - Utilitaires
- Task host windows ✓ - Forum Windows
25 réponses
bob031
Messages postés
8158
Date d'inscription
samedi 7 août 2004
Statut
Membre
Dernière intervention
1 septembre 2014
473
25 janv. 2008 à 18:05
25 janv. 2008 à 18:05
bon je continue à faire joujou avec ssh :
avec : "PasswordAuthentication no" dans le fichier de configuration alors :
[redfox@bob ~]$ ssh redfox@192.168.1.3
Permission denied (publickey).
[redfox@bob ~]$
le truc c'est que j'ai pas de fichier ./ssh/authorized_keys
d'après (en anglais) :
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1201279355477+28353475&threadId=1130893
qui m'envoie à un tuto (en anglais) sur les publickeys :http://macnugget.org/projects/publickeys/
en prime:
SSH TIPS
http://www6.sial.org/?tdfs=1&searchbox=1&showDomain=1
:-))
avec : "PasswordAuthentication no" dans le fichier de configuration alors :
[redfox@bob ~]$ ssh redfox@192.168.1.3
Permission denied (publickey).
[redfox@bob ~]$
le truc c'est que j'ai pas de fichier ./ssh/authorized_keys
d'après (en anglais) :
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1201279355477+28353475&threadId=1130893
qui m'envoie à un tuto (en anglais) sur les publickeys :http://macnugget.org/projects/publickeys/
en prime:
SSH TIPS
http://www6.sial.org/?tdfs=1&searchbox=1&showDomain=1
:-))
bob031
Messages postés
8158
Date d'inscription
samedi 7 août 2004
Statut
Membre
Dernière intervention
1 septembre 2014
473
25 janv. 2008 à 19:39
25 janv. 2008 à 19:39
j'ai donc suivi le tuto : http://www6.sial.org/?tdfs=1&searchbox=1&showDomain=1
c'est d'une simplicité absolue pour générer ses clés et les distribuer !
j'ai donc rajouter ma nouvelle clé publique au fichier authorized_keys
ensuite j'ai remis dans le fichier ssh_config la ligne :
.... et voilà :
[redfox@bob ~]$ ssh redfox@192.168.1.3
Enter passphrase for key '/home/redfox/.ssh/id_rsa':
Linux debian 2.6.22.6 #1 Mon Sep 17 20:13:13 CEST 2007 i686
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
Last login: Fri Jan 25 17:59:04 2008 from 192.168.1.2
redfox@debian:~$
ça marche !!!! content .....je suis !
:-))
c'est d'une simplicité absolue pour générer ses clés et les distribuer !
j'ai donc rajouter ma nouvelle clé publique au fichier authorized_keys
ensuite j'ai remis dans le fichier ssh_config la ligne :
PasswordAuthentication no
.... et voilà :
[redfox@bob ~]$ ssh redfox@192.168.1.3
Enter passphrase for key '/home/redfox/.ssh/id_rsa':
Linux debian 2.6.22.6 #1 Mon Sep 17 20:13:13 CEST 2007 i686
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
Last login: Fri Jan 25 17:59:04 2008 from 192.168.1.2
redfox@debian:~$
ça marche !!!! content .....je suis !
:-))
bob031
Messages postés
8158
Date d'inscription
samedi 7 août 2004
Statut
Membre
Dernière intervention
1 septembre 2014
473
1 févr. 2008 à 13:46
1 févr. 2008 à 13:46
tutos spécial debian :
http://www.coagul.org/article.php3?id_article=347&Valider=Afficher+l%27article
:-))
http://www.coagul.org/article.php3?id_article=347&Valider=Afficher+l%27article
:-))
bob031
Messages postés
8158
Date d'inscription
samedi 7 août 2004
Statut
Membre
Dernière intervention
1 septembre 2014
473
5 mars 2008 à 11:12
5 mars 2008 à 11:12
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
bob031
Messages postés
8158
Date d'inscription
samedi 7 août 2004
Statut
Membre
Dernière intervention
1 septembre 2014
473
1 mai 2009 à 19:25
1 mai 2009 à 19:25
bon je reviens avec le message d'erreur suivant sur ma gentoo :
la solution consiste à changer, dans le fichier /etc/ssh/sshd_config
la valeur de ChallengeResponseAuthentication à yes.
http://codept.blogspot.com/2006/11/permission-denied-publickey.html
et cela donne :
ps : pourquoi j'ai Last login: Fri May 1 18:40:30 2009 from fedora9.me.com alors que je suis sur la gentoo ?
je peux alors réinstaller mes clés, puis remettre la valeur à no et ma connection ssh refonctionne ! Hourra !
> redfox@gentoo[192.168.1.2]:~$ ssh redfox@192.168.1.3 Permission denied (publickey). > redfox@gentoo[192.168.1.2]:~$
la solution consiste à changer, dans le fichier /etc/ssh/sshd_config
la valeur de ChallengeResponseAuthentication à yes.
http://codept.blogspot.com/2006/11/permission-denied-publickey.html
et cela donne :
> redfox@gentoo[192.168.1.2]:~/.ssh$ ssh redfox@192.168.1.3 Password: Linux debian 2.6.26-2-486 #1 Thu Mar 26 00:13:41 UTC 2009 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have new mail. Last login: Fri May 1 18:40:30 2009 from fedora9.me.com _________________________________________ / Bonjour redfox, nous sommes le vendredi \ | 1 mai 2009, et il est : 19 h 15 . You | | have literary talent that you should | \ take pains to develop. / ----------------------------------------- \ \____ /@ ~-. \/ __ .- | // // @ > redfox@debian[192.168.1.3]:~$
ps : pourquoi j'ai Last login: Fri May 1 18:40:30 2009 from fedora9.me.com alors que je suis sur la gentoo ?
je peux alors réinstaller mes clés, puis remettre la valeur à no et ma connection ssh refonctionne ! Hourra !