osterluk wrote:DId you install any software just before it broke?
I updated the system, but I don't remember if any related ssh package was implied
osterluk wrote:Are you loggin in as normal user (non-root)?
I have tried to access as roo and as non-root user. And from different machines, but the result is always the same. The Odroid responds to ping, but refuse the ssh (and sftp) connections
osterluk wrote:On the target, you can kill the sshd process and start it with the debug option, like this (as I remember) /usr/sbin/sshd -d
And you can see the login attempt come through. That can give you a clue.
I couldn't start the ssh server in debug mode. I tried to connect with the options -vvv in order to obtain more verbosity output:
Code: Select all
ssh -vvv email@example.com
OpenSSH_6.2p2 Debian-6, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 22.
debug1: connect to address xxx.xxx.xxx.xxx port 22: Connection refused
ssh: connect to host xxx.xxx.xxx.xxx port 22: Connection refused
osterluk wrote:check your /etc/sshd_config
The sshd_config are exactly the same in the Odroid as in the machine where I try to connect
I have tried too to connect directly via a cable between the odroid and the pc, and I obtain the same result (I ussually connect in this way in my house, where I haven't network and I use a cross cable and configure the /etc/networks/interfaces with a simple 10.0.0.2 and 10.0.0.3 IPs)