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-11 21:07

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

Originally Posted by Feathers McGraw (Post 1503333)
Sorry, I forgot I installed sudo myself because it's so ingrained in my habits, I meant devel-su!

Looks like it failed to start, let's see why:

Code:

devel-su journalctl -u sshd

There you go:

Feathers McGraw 2016-04-11 21:15

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

Originally Posted by gsalone (Post 1503334)
There you go:

Can you post text please? You can copy and paste from fingerterm. Also look through for errors yourself, you can navigate the output like less, space moves forward a page.

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.

jellyroll 2016-04-11 21:16

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

Originally Posted by gsalone (Post 1503334)
There you go:

Thanks Gsalone.

gsalone 2016-04-11 21:29

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

Originally Posted by Feathers McGraw (Post 1503337)
Can you post text please? You can copy and paste from fingerterm. Also look through for errors yourself, you can navigate the output like less, space moves forward a page.

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.

These lines are all it is as output to this command. Maybe landscape helps a bit more?

Code:

-- Logs begin at Mon 2016-04-11 22:15:57 EEST, end at Tue 2016-04-12 00:24:55 EEST. --
Apr 11 23:04:30 Jolla systemd[1]: Starting OpenSSH server daemon...
Apr 11 23:04:30 Jolla systemd[1]: Started OpenSSH server daemon.
Apr 11 23:04:30 Jolla sshd[13326]: Server listening on 0.0.0.0 port 22.
Apr 11 23:04:30 Jolla sshd[13326]: Server listening on :: port 22.
Apr 11 23:04:44 Jolla systemd[1]: Stopping OpenSSH server daemon...
Apr 11 23:04:44 Jolla systemd[1]: sshd.service: main process exited, code=exited, stat
Apr 11 23:04:44 Jolla systemd[1]: Stopped OpenSSH server daemon.
Apr 11 23:04:44 Jolla systemd[1]: Unit sshd.service entered failed state.
~
[nemo@Jolla ~]$


Feathers McGraw 2016-04-11 21:40

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

Feathers McGraw 2016-04-11 21:42

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.

gsalone 2016-04-11 21:51

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

Originally Posted by Feathers McGraw (Post 1503341)
Hmm. Try starting it manually, see if you get any useful errors:

Code:

devel-su systemctl start sshd

Code:

[root@Jolla nemo]# systemctl start ssd
Failed to issue method call: Unit ssd.service failed to load: No such file or director
y.


Feathers McGraw 2016-04-11 22:12

Re: Unable to connect to Jolla phone via SSH (wifi)
 
sshd not ssd!

gsalone 2016-04-11 22:18

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. --
Apr 11 23:04:30 Jolla systemd[1]: Starting OpenSSH server daemon...
Apr 11 23:04:30 Jolla systemd[1]: Started OpenSSH server daemon.
Apr 11 23:04:30 Jolla sshd[13326]: Server listening on 0.0.0.0 port 22.
Apr 11 23:04:30 Jolla sshd[13326]: Server listening on :: port 22.
Apr 11 23:04:44 Jolla systemd[1]: Stopping OpenSSH server daemon...
Apr 11 23:04:44 Jolla systemd[1]: sshd.service: main process exited, code=exited, stat
Apr 11 23:04:44 Jolla systemd[1]: Stopped OpenSSH server daemon.
Apr 11 23:04:44 Jolla systemd[1]: Unit sshd.service entered failed state.
Apr 12 01:17:22 Jolla systemd[1]: Starting OpenSSH server daemon...
Apr 12 01:17:23 Jolla systemd[1]: Started OpenSSH server daemon.
Apr 12 01:17:23 Jolla sshd[18423]: Server listening on 0.0.0.0 port 22.
Apr 12 01:17:23 Jolla sshd[18423]: Server listening on :: port 22.
Apr 12 01:17:58 Jolla systemd[1]: Started OpenSSH server daemon.


Fellfrosch 2016-04-12 05:44

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


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

vBulletin® Version 3.8.8