Hallöle,
also ich habe irgendwie ein zwei Probleme mit dem SSH. Und zwar wollte ich die Kennwort-basierte Authentifizierung abschalten und mit dem Öffentlichen Schlüssel ersetzen. Ihr wisst bestimmt was ich meine.
Nun, das funktioniert irgendwie bei mir nicht, wie auch einige andere Dinge.
Also, ich habe beide Schlüssel generiert den öffentlichen in die authorized_keys hochgeladen und das folgende steht in meiner sshd_config:
Der letzte Pfad ist angepasst, habe mehrere Pfade versucht, aber nichts geht.
Ich bekomme immer als Fehlermeldung "Server refused our key". Was ist da falsch?
Dann zum root Login. Wie man oben sieht, ist der verboten, aber er geht immer noch. Oder ist das oben nicht alles an Einstellungen, die ich vornehmen muss?
Danke für eure Hilfe.
Gruß
Charmed
PS: Ich hab einen Strato VServer
also ich habe irgendwie ein zwei Probleme mit dem SSH. Und zwar wollte ich die Kennwort-basierte Authentifizierung abschalten und mit dem Öffentlichen Schlüssel ersetzen. Ihr wisst bestimmt was ich meine.
Nun, das funktioniert irgendwie bei mir nicht, wie auch einige andere Dinge.
Also, ich habe beide Schlüssel generiert den öffentlichen in die authorized_keys hochgeladen und das folgende steht in meiner sshd_config:
Code:
# Authentication:
#LoginGraceTime 60
#PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6
#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile /etc/ssh/authorized_keys
Der letzte Pfad ist angepasst, habe mehrere Pfade versucht, aber nichts geht.
Ich bekomme immer als Fehlermeldung "Server refused our key". Was ist da falsch?
Dann zum root Login. Wie man oben sieht, ist der verboten, aber er geht immer noch. Oder ist das oben nicht alles an Einstellungen, die ich vornehmen muss?
Danke für eure Hilfe.
Gruß
Charmed
PS: Ich hab einen Strato VServer