sshd langsam

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
codc
Posts: 97
Joined: 2004-01-08 02:55
Location: Tübingen
 

sshd langsam

Post by codc »

Mein Problem ist der SSHD - nach Eingabe des Users braucht der etwa 20 Sekunden bis des Passwort-Promt kommt. Es ist ein Server der mit Debian Sarge läuft.
cat /etc/ssh/sshd_config | egrep -v ^#
sagt :

Code: Select all

Port 22
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
UsePrivilegeSeparation yes
KeyRegenerationInterval 3600
ServerKeyBits 768
SyslogFacility AUTH
LogLevel INFO
LoginGraceTime 600
PermitRootLogin no
StrictModes yes
RSAAuthentication yes
PubkeyAuthentication yes
IgnoreRhosts yes
RhostsRSAAuthentication no
HostbasedAuthentication no
PermitEmptyPasswords no
PasswordAuthentication no
X11Forwarding no
X11DisplayOffset 10
PrintMotd yes
PrintLastLog yes
KeepAlive yes
Subsystem       sftp    /usr/lib/sftp-server
Vielleicht jemand eine Idee wo dran das liegen kann?
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
 

Re: sshd langsam

Post by captaincrunch »

Ich würde mal ganz spontan auf nicht funktionierende Namensauflösung tippen.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
codc
Posts: 97
Joined: 2004-01-08 02:55
Location: Tübingen
 

Re: sshd langsam

Post by codc »

Der ist aber genauso langsam wenn ich den über die IP aufrufe und dann sollte doch AFAIK die Namensauflösung keine Rolle spielen.
lufthansen
Posts: 390
Joined: 2002-09-24 17:31
Location: NRW
 

Re: sshd langsam

Post by lufthansen »

nein dein server versucht zu DEINER ip den hostname zubekommen.
codc
Posts: 97
Joined: 2004-01-08 02:55
Location: Tübingen
 

Re: sshd langsam

Post by codc »

Scheint wirklich das Problem zu sein :cry: