Portál AbcLinuxu, 10. května 2025 09:30
server unexpectedly closed network connectiona session je inactive. Ve /var/log/auth.log je
refused connect from moje_staniceCo se mohlo stat? Diky.
~/.ssh
.
debug1: identify file /root/.ssh/identify type -1 debug1: identify file /root/.ssh/id_rsa type -1 debug1: identify file /root/.ssh/id_dsa type -1 ssh_exchange_identification: Connection closed by remote host
Měl jsem stejný problém; server Debian 3.1, stanice WXP professional. SSH přes Putty nejelo - hláška stejná. Ze strojů s linuxem jsem se normálně přihlásil bez problémů, z WXP to nešlo. Nakonec jsem rezignoval, přeinstaloval jsem Putty a bylo po problému...
Stalo se mi to teď taky, ping ok, ssh nekomunikuje ...
$ ssh -v colin@freud OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to freud [10.0.0.100] port 22. debug1: Connection established. debug1: identity file /home/colin/.ssh/identity type -1 debug1: identity file /home/colin/.ssh/id_rsa type -1 debug1: identity file /home/colin/.ssh/id_dsa type -1 ssh_exchange_identification: Connection closed by remote hostsnad ještě dneska budu vědět víc, v nmapu porty 22, 80 open, apach jede, ale ssh neee (respektive neprůchozííí) ...
No, u mne vyřešeno, v /etc/hosts.deny
jsem měl jak wifinu, adsl modem (blokovanou) ... tedy cca 2x víc řádků, než pamatuju ... mam podezření, že jsem si to neudělal sám. Tak aktualizovat ...
Ahoj,
ted jsem mel stejny problem - stejna chybova hlaska - v logach nic, ale pri restartu sshd me system upozornil, ze /var/run/sshd neni vlastnen rootem a jsou na nem 777 prava. Po odstraneni tohoto vse funguje.
Martin
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.