We have moved to a new Sailfish OS Forum. Please start new discussions there.

Dev Mode settings -> SSH switchable for USB and WLAN independently

asked 2013-12-27 17:03:15 +0300

gabriel gravatar image

updated 2013-12-27 17:16:44 +0300

It would be nice to be able to switch on or off SSH on USB or WLAN independently. Personally, I don't mind USB on all the time and never on WLAN except on rare occasions.

EDIT: also, you can't devel-su if you don't turn on SSH. Uhm... removing low-priority tag now :-)

edit retag flag offensive close delete


Upvoting. Two days ago I also posted similar request here - https://together.jolla.com/question/2650/disable-ssh-daemon-when-remote-connections-are-disabled/

Plnt ( 2013-12-28 00:52:37 +0300 )edit

Yeap, I didn't add to your post as it was slightly different, and want to keep things as decoupled as possible.

gabriel ( 2013-12-28 13:49:35 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2015-03-30 00:52:09 +0300

lakutalo gravatar image

updated 2015-04-28 23:39:59 +0300

You can disable sshd listening on WLAN device by editing /etc/ssh/sshd_config. You only have to add a line containing the IP address of your USB device after the keyword ListenAddress, and restart your phone.

This way you limit ssh access to your Jolla by USB (and fingerterm) only.

Also see link to manual for sshd_config(5).

edit flag offensive delete publish link more



Thanks for the tip. Working fine on my Jolla.

eson ( 2015-04-14 07:41:47 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2013-12-27 17:03:15 +0300

Seen: 548 times

Last updated: Apr 28 '15