Ah, you figured it out… -v is nothing on its own.
That was the next reasonable step… so something about the dns has gone out of sync.
I suggest permanenting the device ip in your router, so then this will never happen. And while you are at it, reboot the router.
Edit: my bad - it still isn’t working… then i’m probably out of ideas with that reboot.
Well, maybe check the journal log on the phone while failing to ssh to it.
The IP addresses on LAN are static, anyhow I will reboot the router (which is another Xperia 10) and then report. Btw, the ssh connection to this ‘router phone’ always worked from the laptop and from the ‘other’ X10. Only the Volla doesn’t accept connections coming from laptop or other X10, says always:
debug1: connect to address 192.168.0.3 port 22: Connection refused
ssh: connect to host 192.168.0.3 port 22: Connection refused
edit: Tomorrow I’ll try to delete all keys for the passwordless login and then and re-establish. I strongly suspect that something there is broken. It worked for months, until today afternoon, an hour later without any reason it suddenly failed. All the rest still works fine on the Volla. Strange…
No need to do that yet, “connection refused” is quite clear (and happens on a layer below ssh): the phone is refusing connections on port 22 - sshd config does not come into play here yet.
Either sshd is not running (is Developer mode enabled, and the “allow remote connections” switch checked, does netstat -lpn | grep 22 show sshd listening?
Or the phone firewall does not allow port 22.
Or the router does not allow forwarding to port 22 (can you ping the phone??).
Thank you very much, this worked on the first try! I did nothing else than connect the Volla with LAN and execute this command.
My good old ssh volla using an entry in ~/.ssh/config also works again.
Accessing the Volla by Linux GUI also works again.
The Volla is up and running again. Thank you very much, @phklrz !
So evertthing found with this command seems now to be up and running and listening as it should. And from normal user sight the phone works again as it should. Again many thanks, @nephros !
Again the same problem, this time on Xperia 10 SFOS 4.6.0.13, freshly flashed. Storeman, Chum and File Browser installed and nothing else and no tweaks or other tinkering. Phone was very restive at trying to set it to a fixed IP on my WLAN, but in the end it seems to work.
Phone permanently says:
andrea@AndreaDesktop:~$ ssh defaultuser@192.168.0.3
ssh: connect to host 192.168.0.3 port 22: Connection refused
andrea@AndreaDesktop:~$
Nothing from above in this thread helps.
Can I delete some file on the phone so that it doesn’t remember old failed login attempts?
SFTP also fails because “authentication too often failed”
ssh displays this:
andrea@AndreaDesktop:~$ ssh exp
Received disconnect from 192.168.0.3 port 22:2: Too many authentication failures
Disconnected from 192.168.0.3 port 22
andrea@AndreaDesktop:~$
How can I reset the authentication failure counter?
AKAIK ssh doesn’t store something like this. The second answer in this thread might have the right hint. If not, ‘ssh -v exp’ will provide additional information.
Thank you so much @martinh ! $ ssh-copy-id -i /home/andrea/.ssh/exp_rsa.pub -p 22 -o PubkeyAuthentication=no defaultuser@192.168.0.3
unblocked it after entering password. SFTP also working now.