maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [Solved] Unable to connect to Jolla phone via SSH (wifi) (https://talk.maemo.org/showthread.php?t=96633)

gsalone 2016-04-12 16:05

Re: Unable to connect to Jolla phone via SSH (wifi)
 
Quote:

Originally Posted by Fellfrosch (Post 1503350)
Have you tried the following procedure:
Disable developer mode
Reboot your Jolla
Enable developer mode
Set new password
try to connect

Yes. Nothing.

Feathers McGraw 2016-04-12 17:07

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
I got two lines about not being able to read ssh_host_ecdsa_key and ssh_host_ed25519_key, so ignore those (mine works). Anything else?

Sam

gsalone 2016-04-12 17:29

Re: Unable to connect to Jolla phone via SSH (wifi)
 
Quote:

Originally Posted by Feathers McGraw (Post 1503398)
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
I got two lines about not being able to read ssh_host_ecdsa_key and ssh_host_ed25519_key, so ignore those (mine works). Anything else?

Sam

I have not changed any config, at least not to my knowledge. If something has been broken by something else, I do not really know.

Ironically, after this command, I get no extra lines, no message or warning. But still not working. :mad:

Feathers McGraw 2016-04-12 18:01

Re: Unable to connect to Jolla phone via SSH (wifi)
 
Try removing and reinstalling sshd:

Code:

pkcon remove sshd
Code:

pkcon install sshd
If it's a dependency of the UI we can try reinstalling with zypper, or just removing /etc/ssh and letting the program generate anew config file.

Feathers McGraw 2016-04-12 18:05

Re: Unable to connect to Jolla phone via SSH (wifi)
 
sorry, the package name is openssh-server

bit slow today!

gsalone 2016-04-12 18:17

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?

Feathers McGraw 2016-04-12 18:27

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?

jellyroll 2016-04-12 18:27

Re: Unable to connect to Jolla phone via SSH (wifi)
 
Quote:

Originally Posted by gsalone (Post 1503404)
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?

Can you connect by using the USB cable.

gsalone 2016-04-12 19:12

Re: Unable to connect to Jolla phone via SSH (wifi)
 
Quote:

Originally Posted by Feathers McGraw (Post 1503406)
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?

Yes, totally deleted. No changes. Do I need to uninstall and reinstall the opensshd now to recreate those folders? They are not recreated when i activate developer tools.

gsalone 2016-04-12 19:13

Re: Unable to connect to Jolla phone via SSH (wifi)
 
Quote:

Originally Posted by jellyroll (Post 1503407)
Can you connect by using the USB cable.

Yes, at least this one works :)


All times are GMT. The time now is 14:22.

vBulletin® Version 3.8.8