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

HowTo : SSH Jolla on windows over WLAN

asked 2014-02-15 18:28:22 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2014-02-18 00:14:42 +0200

Here's a HowTo for people willing to ssh their Jolla but who don't know how to. Hope it's clear enough.

1) Enable developer mode

Settings -> System -> Developer mode

Check the 2 first options and enter a password of your choice.

image description

Note the IP address. Here : 192.168.1.8

2) Download putty from here : http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe

3) Run putty.exe, it should open something like this :

image description

Type the IP of your jolla that you noted in step 1. The rest should be fine by default and click open :

You might get a warning. Just click „YES“ :

image description

In the next windows :

image description

Type in nemo followed by Enter.

It will prompt you for the password you set in step 1):

image description

Type in the password followed by enter.

It should now look like this:

image description

If you do not need root access, you are done.

To get root access, now enter devel-su followed by enter. It will prompt you for a password. Type in the password you set in step 1:

image description

That’s it.

Warnings

Be careful, with root access: You can now break your phone if you don’t know what you are doing.

Disable "Remote access" before connecting to networks you cannot trust (e.g. public WiFi networks, mobile providers that do not allocate private IP 4 addresses and block inter-user IP communication – assume, they do not, as long as you do not know they do). Otherwise, strangers could try to enter your phone via ssh and try passwords using an automated procedure until they have been successfully entering your phone.

edit retag flag offensive close delete

Comments

Awesome! I wish I had found this much earlier

Aashish ( 2015-01-02 16:11:27 +0200 )edit

4 Answers

Sort by » oldest newest most voted
5

answered 2014-02-17 02:59:58 +0200

TK gravatar image

updated 2014-02-17 03:02:34 +0200

For simple FILE transfer between jolla and windows once connected to same WiFi (pc-jolla)

1st step as the previous post (enable developer mode and remote connection , set a password && note your Wlan IP address)

download WinSCP, start it

host name: Wlan IP address

user name : nemo

password: the password you set

login

edit flag offensive delete publish link more
2

answered 2017-10-29 15:34:23 +0200

jollauser gravatar image

Instead of enabling / disabling Remote_access every time, I have restricted sshd such that it only accepts requests when the phone is bound to a specific ip-address. This only works if your phone always get the same IP-address when it is connected to your local wlan. In order to make sshd only accept requests when you phone has a specific ip-address you have to do adjust the ListenAddress parameter in /etc/ssh/sshd_config

ListenAddress 192.XXX.XXX.XXX

Here 192.XXX.XXX.XXX should be replaced by the ip-address at which your phone can be reached when it is connected to your local wlan.

More info tlpd.org or askubuntu.com

edit flag offensive delete publish link more
1

answered 2015-02-01 18:35:41 +0200

DavidJ gravatar image

How to set up SSH connection from Windows 8 – For non-technical users

Ensure that Jolla is connected to Wi-Fi

Enable Developer Mode: Jolla>Settings>System

Follow on-screen directions and make note of IP address and password

On your PC (assumed to be on the same Wi-Fi network as the Jolla*) download and install Remote Terminal from Microsoft app store

Connect Jolla to PC by USB (PC Connection mode on Jolla)

Start Remote Terminal and click on Quick Connect at bottom of screen

Enter IP address (noted from Developer Mode enabling), enter “nemo” in the Auto-login username box and click Connect at bottom of screen

Wait for a moment and at the password prompt enter the password (noted from Developer Mode enabling). Press Enter and the Jolla prompt should appear.

You're in!

edit flag offensive delete publish link more

Comments

I don't why Putty doesn't connect anymore after updating to Win10 but this worked.

jjawe ( 2016-08-28 17:01:14 +0200 )edit
0

answered 2014-02-18 10:49:59 +0200

Schturman gravatar image

In this instruction explained detailed how to via WinSCP... https://dl-web.dropbox.com/get/Public/Jolla1/Root_and_User_SSH_access_via_WinSCP.pdf?w=AAAZqwG7tqKnNHTsZyVuONVetSqRF2D-Wng911EpovKPuQ

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
9 followers

Stats

Asked: 2014-02-15 18:28:22 +0200

Seen: 7,886 times

Last updated: Oct 29 '17