![]() |
[Solved] Unable to connect to Jolla phone via SSH (wifi)
Tried via WinSCP, and Putty, neither work.
Don't remember installing anything, and it was working some time ago, but now not. Instead I get message "Network error: Connection timed out". I got Sailfish 2.0.0.10. Any ideas? |
Re: Unable to connect to Jolla phone via SSH (wifi)
Quote:
Did you disable and re-enable developer mode in the meantime? It shoul not happen but it has happened to me at least once: disabling and re-enabling dev mode reset the password and I had to set it again. Though in such a case I would expect a different error than 'network timeout'. |
Re: Unable to connect to Jolla phone via SSH (wifi)
Quote:
|
Re: Unable to connect to Jolla phone via SSH (wifi)
Go to developer mode en set your ssh password and try to connect while keeping the developermode window open. I do face the same error when i'm on a windows system.
|
Re: Unable to connect to Jolla phone via SSH (wifi)
Quote:
|
Re: Unable to connect to Jolla phone via SSH (wifi)
This happens to services sometimes when they fail to start properly. If you've changed any ssh settings it could be an error in your configuration file. What is the output of:
Code:
sudo systemctl status sshd |
Re: Unable to connect to Jolla phone via SSH (wifi)
Gsalone, answer McGraw.
|
Re: Unable to connect to Jolla phone via SSH (wifi)
1 Attachment(s)
Quote:
Code:
systemctl status sshd |
Re: Unable to connect to Jolla phone via SSH (wifi)
Quote:
|
Re: Unable to connect to Jolla phone via SSH (wifi)
Quote:
Looks like it failed to start, let's see why: Code:
devel-su journalctl -u sshd |
Re: Unable to connect to Jolla phone via SSH (wifi)
1 Attachment(s)
Quote:
|
Re: Unable to connect to Jolla phone via SSH (wifi)
Quote:
You could also append -p err to the command to only show errors and worse, but sometimes the notices and warnings are useful for context. |
Re: Unable to connect to Jolla phone via SSH (wifi)
Quote:
|
Re: Unable to connect to Jolla phone via SSH (wifi)
1 Attachment(s)
Quote:
Code:
-- Logs begin at Mon 2016-04-11 22:15:57 EEST, end at Tue 2016-04-12 00:24:55 EEST. -- |
Re: Unable to connect to Jolla phone via SSH (wifi)
Hmm. Try starting it manually, see if you get any useful errors:
Code:
devel-su systemctl start sshd |
Re: Unable to connect to Jolla phone via SSH (wifi)
BTW, in fingerterm you can use dragmode: select and then the copy/paste using thw buttons in the top right.
|
Re: Unable to connect to Jolla phone via SSH (wifi)
Quote:
Code:
[root@Jolla nemo]# systemctl start ssd |
Re: Unable to connect to Jolla phone via SSH (wifi)
sshd not ssd!
|
Re: Unable to connect to Jolla phone via SSH (wifi)
Yes sorry.
Did that, no error message shown, but still not possible to connect. The journalctl command now shows this: Code:
Logs begin at Mon 2016-04-11 22:15:57 EEST, end at Tue 2016-04-12 01:18:50 EEST. -- |
Re: Unable to connect to Jolla phone via SSH (wifi)
Have you tried the following procedure:
Disable developer mode Reboot your Jolla Enable developer mode Set new password try to connect |
Re: Unable to connect to Jolla phone via SSH (wifi)
Quote:
|
Re: Unable to connect to Jolla phone via SSH (wifi)
I still think it's probably a configuration error (you didn't say whether you have been changing the config?)
Try starting sshd in test mode: Code:
devel-su sshd -t Sam |
Re: Unable to connect to Jolla phone via SSH (wifi)
Quote:
Ironically, after this command, I get no extra lines, no message or warning. But still not working. :mad: |
Re: Unable to connect to Jolla phone via SSH (wifi)
Try removing and reinstalling sshd:
Code:
pkcon remove sshd Code:
pkcon install sshd |
Re: Unable to connect to Jolla phone via SSH (wifi)
sorry, the package name is openssh-server
bit slow today! |
Re: Unable to connect to Jolla phone via SSH (wifi)
Nothing...
I still get "Network error: Connection timed out" from Putty. Could you share your config file? Maybe if i replaced it, it will work? |
Re: Unable to connect to Jolla phone via SSH (wifi)
I've turned off password auth, so that won't work unless you have publickeys added to your ~/.ssh/authorized_keys
Did you try removing /etc/ssh? |
Re: Unable to connect to Jolla phone via SSH (wifi)
Quote:
|
Re: Unable to connect to Jolla phone via SSH (wifi)
Quote:
|
Re: Unable to connect to Jolla phone via SSH (wifi)
Quote:
|
Re: Unable to connect to Jolla phone via SSH (wifi)
If you are able to connect via USB it's very unlikely that it's the fault of your config files. But to be honest, if you are really in the same network and use the correct ip, I have not really a clue what can be wrong.
Are you sure it's the fault of your Jolla? Have you already tried to reset the authentication keys? |
Re: Unable to connect to Jolla phone via SSH (wifi)
I assume you can at least ping the Jolla and get a response.
|
Re: Unable to connect to Jolla phone via SSH (wifi)
How to reset authentication keys? I deleted whole ssh folder, and have not set a password for ssh, if this is what you mean.
In meantime, i ran again pkcon remove and then install for the openssh-server, the etc/ssh folder has been recreated, but still not possible to connect. So i just restarted my router... guess what.. it works! Thank you all for your support and efforts! Solution was literally under our nose :) |
Re: [Solved] Unable to connect to Jolla phone via SSH (wifi)
I got that. But maybe it's not just the fault of your jolla, but there is a problem that something in your network or your Jolla has has changed, and for that reason there was created a new key.
In that case you have to delete the key on your PC, because there is already stored a key for your Jolla and if that for some reason doesn't fit anymore, there is no connection possible. If you delete this key on your PC, it should ask you on the next connection if you trust that key and if it should be stored. If I got it right, you are on Windows and use Winscp. As far as I know there is somewhere an option for deleting the keys - don't know that for sure, I'm on Linux. The best way to exclude a key problem is to use another computer, which wasn't connected to your Jolla yet. |
All times are GMT. The time now is 23:36. |
vBulletin® Version 3.8.8