SSH connection over USB from Windows PC to Sailfish device

Jolla Care -

This help article is for Windows 10. If you use Linux/Ubuntu then read this article.

USB connection

Make sure you have the Developer mode enabled on your Sailfish device. If not, see this article.
If you have not defined any SSH password yet (or you have forgotten it) in "Settings > Developer tools > Remote connection" then create one for yourself. You will need it soon.

Connect a USB cable between you PC and your Sailfish device. At the moment of connection, choose "Developer mode" at the device display.

 

Setting up SSH session

 

1. Launch Putty application on PC

If your phone has Sailfish OS 3.4.0 or later,
   - enter defaultuser@192.168.2.15 to the Host name (IP address) box

If your phone has Sailfish OS 3.3.0 or earlier,
   - enter nemo@192.168.2.15 to the Host name (IP address) box

 

Check that SSH is selected below the box.

Click Open.

2. Terminal window of Putty appears (black background)

   - type your SSH password

You are now in the directory /home/nemo (Sailfish OS 3.3.0 or earlier) or  /home/defaultuser(Sailfish OS 3.4.0 or later) of the phone.

Examples:

Check what is in the home directory:

ls -al

 Check the repositories required for over-the-air updates of Sailfish OS

ssu lr

 

Troubleshooting

If the connection attempt fails, disconnect the phone from the PC. Restart the phone (consider restarting the PC, too).  Try again.

 

 

Have more questions? Submit a request
Powered by Zendesk