Takeshi
29.05.08, 21:48
Hallo, nutze hier ssh im privaten Netzwerk und auch per dyndns. Zweites klappt allerdings nicht mehr. Ich erhalte immer folgende Fehlermeldung:
ssh: connect to host HOST.dyndns.org port 22: Connection refused
Ich habe einen public key erstellt (und auch für putty exportiert, damit ich mich auch von Win-Clients einwählen kann) und nur mit diesem ist ein Login gestattet.
Normalerweise sollte man zuerst nach einem Passwort für den key gefragt werden, aber stattdessen erhalte ich sofort obige Fehlermeldung.
Hier mal Auszüge meiner sshd.conf
# Authentication:
#LoginGraceTime 2m
PermitRootLogin no
#StrictModes yes
MaxAuthTries 6
.....# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
#PermitEmptyPasswords no
# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
ChallengeResponseAuthentication no
#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no
Woran kann das liegen, dass der Login über das Internet plötzlich nicht mehr funktioniert? Die IP-Adresse von dyndns habe ich kontrolliert - sie stimmt mit der meines Routers überein.
ssh: connect to host HOST.dyndns.org port 22: Connection refused
Ich habe einen public key erstellt (und auch für putty exportiert, damit ich mich auch von Win-Clients einwählen kann) und nur mit diesem ist ein Login gestattet.
Normalerweise sollte man zuerst nach einem Passwort für den key gefragt werden, aber stattdessen erhalte ich sofort obige Fehlermeldung.
Hier mal Auszüge meiner sshd.conf
# Authentication:
#LoginGraceTime 2m
PermitRootLogin no
#StrictModes yes
MaxAuthTries 6
.....# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
#PermitEmptyPasswords no
# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
ChallengeResponseAuthentication no
#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no
Woran kann das liegen, dass der Login über das Internet plötzlich nicht mehr funktioniert? Die IP-Adresse von dyndns habe ich kontrolliert - sie stimmt mit der meines Routers überein.