PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Keine Verbindung zu sshd möglich



daniel5
06.11.02, 20:01
Hallo,

ich will mich mit putty von einem Windows XP Prof. PC via ssh zu meinem Linux PC verbinden. Von Putty wird mir gemeldet:"Network error: Connection refused"

meine /etc/ssh/sshd_config sieht so aus:



# This is ssh server systemwide configuration file.

Port 22
ListenAddress 192.168.0.5
HostKey /etc/ssh/ssh_host_key
ServerKeyBits 1024
LoginGraceTime 300
KeyRegenerationInterval 1800
PermitRootLogin no
IgnoreRhosts yes
IgnoreUserKnownHosts yes
StrictModes yes
KeepAlive yes
SyslogFacility AUTH
LogLevel INFO
RhostsAuthentication no
RhostsRSAAuthentication no
RSAAuthentication yes
PasswordAuthentication yes
PermitEmptyPasswords no
PrintMotd yes
PrintLastLog yes
CheckMail yes


sshd lässt sich ohne Probleme starten.


/var/log/sshd/current gibt aus:

bash-2.05a# cat /var/log/sshd/current
Nov 6 20:36:50 [sshd] error: Bind to port 22 on 192.168.0.5 failed: Cannot assign requested address.
Nov 6 20:36:50 [sshd] fatal: Cannot bind any address.


Weis jemand wo ich einen Fehler gemacht habe?

HangLoose
06.11.02, 22:11
hi

sag mal die ip 192.168.0.5 ist doch vom linuxpc, oder?