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

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

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

gabriel gravatar image

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

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

Comments

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 +0200 )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 +0200 )edit

1 Answer

Sort by » oldest newest most voted
2

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

lakutalo gravatar image

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

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

Comments

1

Thanks for the tip. Working fine on my Jolla.

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

Question tools

Follow
4 followers

Stats

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

Seen: 621 times

Last updated: Apr 28 '15