[SailfishDevel] Key Public Key Deployment - Connection Refused

Chris Walker cdw_nokiaqt at the-walker-household.co.uk
Mon Jul 21 09:04:04 UTC 2014


On Sun, 20 Jul 2014 18:26:46 +0200
Andreas Heil <info at aheil.de> wrote:

> Hi all,
> 
> I try to deploy an application to a Jolla device. 
> 
> I followed the steps given in
> https://sailfishos.org/develop-firstapp-article.html. 
> 
> Developer mode on the phone is active, a password is set.  I tried
> both, the wireless IP as well as the USB connection (even connecting
> while using  the developer mode in the settings). The device can be
> pinged, however, hitting the "Test Connection" button on the "Key
> Public Key Deployment" dialog in Qt creator tells me "connection
> refused". SSH connection from a shell is refused as well.
> 
> Any hints which direction to go? Changing settings on the device or
> is this simply not yet available in the SDK? 

I used this yesterday so yes, it does work. But, it didn't work this
time around having previously worked.

To make it work this time, I first attacked my router so that the Jolla
device is always given the same WLAN IP address. I then deleted the
previous device in Qt Creator. I created a new one using the fixed IP
address as defined in the router tables. Note that when creating a new
device, Creator creates a new folder. I'm using linux rather than Mac
OS but I'm guessing the principles are the same. In any event, Creator
tells you where the new folder will be created.

For reference, mine
is /home/chris/SailfishOS/vmshare/ssh/private_keys/SailfishOS_Phone_Wifi/
where the device is called Sailfish_Phone_Wifi.

At that point, you can test the connection. If it fails then, you need
to check the SSH connection on the phone. That's System -> Developer
Mode. Is the IP address correct? Are both Developer mode and Remote
connections options enabled? Set the password there - you can use the
previously used password - and try again.

HTH.


More information about the Devel mailing list