Unable to ssh to RPi3 after initial configuration of Ubuntu Core

Gregory Lutostanski gregory.lutostanski at canonical.com
Fri Feb 3 15:40:24 UTC 2017


And since it is a rpi... you can just pop out the sdcard, and put in a
different computer and see which ssh-key is in the second-partition at
user-data/*/.ssh/authorized_keys if you are really curious (although since
you are on windows, reading that partition which is ext4 might be more
difficult).


On Fri, Feb 3, 2017 at 9:25 AM, Luca Dionisi <luca.dionisi at gmail.com> wrote:

> Just a couple of hints.
>
> 1. Double check username.
> It might be different than that of the email you use to signon at Ubuntu.
> E.g. my mail is luca.dionisi at gmail.com while user on my RPi is
> luca-dionisi.
>
> 2. Try flag "-v" with ssh. Check the id_rsa* files that it tries with.
>
>
>
>
> On Fri, Feb 3, 2017 at 4:08 PM, George Gundry <george.gundry at 4dml.com>
> wrote:
> > 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 !
> >
> >
> >
> >
> > --
> > Snapcraft mailing list
> > Snapcraft at lists.snapcraft.io
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/snapcraft
> >
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170203/7ecbc183/attachment.html>


More information about the Snapcraft mailing list