[CentOS-de] Problem mit ssh

Andreas Meyer a.meyer at nimmini.de
Sa Nov 18 18:46:03 UTC 2017


Andreas Meyer <a.meyer at nimmini.de> schrieb am 18.11.17 um 19:34:58 Uhr:

> > >> ~/.ssh/config
> > >> 
> > >> host server.de
> > >> 	IdentityFile ~/.ssh/mein_rsa    
> 
> 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).

Es klappt, wenn man das nicht in eine Zeile schreibt, sondern
wie Ralph geschrieben hat, das im dem Format macht:

host domain1.de
	IdentityFile ~/.ssh/domain1_rsa
host domain2.de
	IdentityFile ~/.ssh/domain2_rsa

Grüße

  Andreas
-- 
PGP-Fingerprint: D392 5D21 0299 63D7 5BAE 4562 1E56 B2EA 81A2 59F1
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : nicht verfügbar
Dateityp    : application/pgp-signature
Dateigröße  : 213 bytes
Beschreibung: Digitale Signatur von OpenPGP
URL         : <http://lists.centos.org/pipermail/centos-de/attachments/20171118/ba501bcf/attachment.sig>


Mehr Informationen über die Mailingliste CentOS-de