Unable to ssh to RPi3 after initial configuration of Ubuntu Core

Matthias Seidel matthias.seidel at hamburg.de
Fri Feb 3 15:20:08 UTC 2017


Hi,

I had the same problem.

If you get some error like "Permission denied (publickey)" the following
page did the trick for me:

https://help.ubuntu.com/community/SSH/OpenSSH/Keys

Kind regards

Matthias Seidel


Am 03.02.2017 um 16:08 schrieb George Gundry:
>
> I followed the instructions here:
> https://developer.ubuntu.com/core/get-started/raspberry-pi-2-3
>
> I have created a Ubuntu SSO account
>
> uploaded my SSH public key,
>
> used Win32DiskImager to burn the Ubuntu Core Pi3 image
> *ubuntu-core-16-pi3.img* to an SD card,
>
> booted the Pi3 connected to Ethernet,
>
> correctly get the “Press Enter to Configure” message,
>
> pass Network Config,
>
> entered my SSO account,
>
> got the ”Contacting Store” message,
>
> got the success reply back from the store saying the key had been
> stored on the Pi and I can use *ssh <username>@<ip address>*
>
> Try to connect to pi over ssh as instructed, private key auth fails …
>
> Things I have tried:
>
> Different terminal emulators – putty; Remote Terminal; TokenShell/MD;
> command line ssh from another Pi; forcing use of specific private key
> with -I option
>
> Different SSH key pairs – known good pair that we use elsewhere; new
> keygen generated keys with passphrase; new keygen generated keys
> without passphrase
>
> Different Pi’s – Work and home
>
> Different Ubuntu SSO accounts – created a new account from scratch,
> same result.
>
> In desperation, I tried to load 16.04 LTS, and this was successful so
> I am confident the kit (Pi, SD card, network connection) is good.
>
> *Nothing I have tried makes any difference, the private key is never
> accepted by the Ubuntu Core device.*
>
> I am keen to investigate migrating our IoT product from Raspbian Lite
> to Core, but can’t seem to get beyond step one !
>
>  
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170203/a8c0102e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3717 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170203/a8c0102e/attachment.bin>


More information about the Snapcraft mailing list