(8 Antworten)
Vor 2 Jahren geschlossen.
Ich habe festgestellt, dass einige Linux-Server im Netzwerk lange brauchen, um sich mit ssh zu verbinden.
Situationen :
Es gibt zwei Situationen, denen ich begegnet bin:
-
Auf einigen Servern dauert es manchmal sehr lange, nach dem Passwort zu fragen
-
aber auf anderen Servern Wenn ich das Passwort eingebe es reagiert nicht . Und nach einiger Zeit sagen Sie 20 0r 30 Sekunden, es sagt nur Verbindung geschlossen
Detail für 1 Fall :
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure. Minor code may provide more information
Cannot determine realm for numeric host address
debug1: Unspecified GSS failure. Minor code may provide more information
Cannot determine realm for numeric host address
debug1: Unspecified GSS failure. Minor code may provide more information
debug1: Unspecified GSS failure. Minor code may provide more information
Cannot determine realm for numeric host address
debug2: we did not send a packet, disable method
debug1: Next authentication method: publickey
debug1: Trying private key: /home/umairmustafa/.ssh/id_rsa
debug1: Trying private key: /home/umairmustafa/.ssh/id_dsa
debug1: Trying private key: /home/umairmustafa/.ssh/id_ecdsa
debug2: we did not send a packet, disable method
debug1: Next authentication method: password
Akzeptierte Antwort:
Ich hatte das gleiche Problem gerade heute Morgen…
Bearbeiten Sie Ihre /etc/ssh/sshd_config
um GSSAPIAuthentication no
festzulegen