[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ssh localhost doesn't work



Hello everybody,

I've been using Linux for three years, but I'm new to Debian. The other distros I've used were Red Hat and Suse, and now I'm trying with Debian Sid. I'm having the following problem: when I try "*ssh localhost"* I get the following message: *"ssh_exchange_identification: Connection closed by remote host".

*When doing *"ssh -v localhost" *the outpus is:
debian1:/home/victor# ssh -v localhost

*OpenSSH_3.8.1p1 Debian-8.sarge.4, OpenSSL 0.9.7e 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /user/.ssh/identity type -1
debug1: identity file /user/.ssh/id_rsa type -1
debug1: identity file /user/.ssh/id_dsa type -1
ssh_exchange_identification: Connection closed by remote host*

I've been searching on the Web and SSH documentation and I've tried turning off the firewall and adding sshd: ALL in the hosts.allow file, but it doesn't work.

I'll appreciate any comments.

Thanks.



Reply to: