[CentOS-de] Problem mit ssh
Django [BOfH]
django at nausch.org
Sa Nov 18 18:55:49 UTC 2017
HI!
Am 18.11.2017 um 19:34 schrieb Andreas Meyer:
> Nein, klappt nicht.
>
> cat config:
> host domain1.de IdentityFile ~/.ssh/domain1_rsa
> host domain2.de IdentityFile ~/.ssh/domain2_rsa
>
> ssh domain1.de funktioniert, wogegen ich bei
> ssh domain2.de den bekannten Fehler bekomme:
>
> Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
>
> und
> debug1: Offering RSA public key: /home/andreas/.ssh/id_rsa
Also , wie unterscheiden sich denn die Zielsysteme? Unterschiedliche
Distributionen, ssh-Pakete und Konfig /etc/ssh/sshd_config. BTW, würde
ich die Client Konfigurationsdatei auch anders strukturieren, z.B.[2]
Mit der Option -v, -vv und -vvv bekommst Du ausführlich angezeigt, was
der SSH-client mit dem daemon gerade macht[1], also z. B. in Deinem Fall:
ssh -vvv domain2.de
Wie man seinen Client konfiguriert findest Du z.B. auch hier[3].
ttyl
Django
[1] :
https://dokuwiki.nausch.org/doku.php/centos:ssh_c7#fehlersuche
[2] :
https://dokuwiki.nausch.org/doku.php/centos:ssh_c7#ssh_proxycommand_-_transparente_multi-jump_ssh
[3] :
https://dokuwiki.nausch.org/doku.php/centos:ssh_c7#client_konfiguration
Mehr Informationen über die Mailingliste CentOS-de