<div id="compose" contenteditable="true" style="padding-left: 16px; padding-right: 16px; padding-bottom: 8px;">Yep, that worked - now I can start the REAL work ...<div><br></div><div>Thanks 🙏,</div><div><br></div><div>George<br>_____________________________</div></div><div class="gmail_quote">From: George Gundry 4D <<a dir="ltr" href="mailto:george.gundry@4dml.com" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="0">george.gundry@4dml.com</a>><br>Sent: Friday, February 3, 2017 20:04<br>Subject: Re: Unable to ssh to RPi3 after initial configuration of Ubuntu Core<br>To: Snapcraft <<a dir="ltr" href="mailto:snapcraft@lists.snapcraft.io" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="1">snapcraft@lists.snapcraft.io</a>><br><br><br><div id="compose" style="padding-left: 16px; padding-right: 16px; padding-bottom: 8px;">That certainly sounds plausible Gregory !</div><div id="compose" style="padding-left: 16px; padding-right: 16px; padding-bottom: 8px;">I'll give it a try over the weekend - thanks again for your help 😀</div><div id="compose" style="padding-left: 16px; padding-right: 16px; padding-bottom: 8px;">Regards,</div><div id="compose" style="padding-left: 16px; padding-right: 16px; padding-bottom: 8px;">George</div> <div class="gmail_quote">_____________________________<br>From: Gregory Lutostanski <<a dir="ltr" href="mailto:gregory.lutostanski@canonical.com">gregory.lutostanski@canonical.com</a>><br>Sent: Friday, February 3, 2017 18:09<br>Subject: Re: Unable to ssh to RPi3 after initial configuration of Ubuntu Core<br>To: Snapcraft <<a dir="ltr" href="mailto:snapcraft@lists.snapcraft.io">snapcraft@lists.snapcraft.io</a>><br><br><br><div dir="ltr"><div><div><div>Looks like somehow your editor broke up the lines with spaces (at 80 characters), so when you copied it into the textfield on <a href="https://launchpad.net/~">https://launchpad.net/~</a><your-username>/+editsshkeys it was broken at 80 characters.<br><br></div>I would suggest removing the offending key and adding it again. To make sure it doesn't happen again, (on windows) I would open it with notepad and turn off word wrap and copy and paste to there again.<br><br></div>If you have any issues, let me know what your launchpad id is. That way I can pull your public key and see if anything else makes sense.<br><br></div>Hopefully that will sort you out!<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 3, 2017 at 10:37 AM, George Gundry <span dir="ltr"><<a href="mailto:george.gundry@4dml.com">george.gundry@4dml.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB"><div class="m_-2895149798073218515WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Hi Gregory, Luca & Mattias for your generous help.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I was able to look at </span><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">user-data/*/.ssh/authorized_<wbr>keys</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> (I mounted the SD card in Windows using <b>ExtFS</b> from Paragon Software)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">The key does not look right – a space has been inserted after every 80 characters ??? – see partial screenshot below. These space characters are not present when I open the source <b>id_rsa.pub</b> in Sublime …<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><img style="width:12.3958in;height:1.1666in" id="m_-2895149798073218515Picture_x0020_1" src="cid:image001.png@01D27E3B.D3F16AB0" width="1190" height="112"></span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Unfortunately, I can only mount the drive as read-only, so can’t make the changes, save and try again </span><span style="font-size:11.0pt;font-family:Wingdings">L</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Clearly, you guys HAVE been able to work, and I have double checked username and all other details – it’s driving me mad !<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Regards,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">George<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> <a href="mailto:snapcraft-bounces@lists.snapcraft.io">snapcraft-bounces@lists.<wbr>snapcraft.io</a> [mailto:<a href="mailto:snapcraft-bounces@lists.snapcraft.io">snapcraft-bounces@<wbr>lists.snapcraft.io</a>] <b>On Behalf Of </b>Gregory Lutostanski<br><b>Sent:</b> 03 February 2017 15:40<br><b>To:</b> Snapcraft <<a href="mailto:snapcraft@lists.snapcraft.io">snapcraft@lists.snapcraft.io</a>><br><b>Subject:</b> Re: Unable to ssh to RPi3 after initial configuration of Ubuntu Core<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><div><div><p class="MsoNormal">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_<wbr>keys if you are really curious (although since you are on windows, reading that partition which is ext4 might be more difficult).<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Fri, Feb 3, 2017 at 9:25 AM, Luca Dionisi <<a href="mailto:luca.dionisi@gmail.com">luca.dionisi@gmail.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><p class="MsoNormal">Just a couple of hints.<br><br>1. Double check username.<br>It might be different than that of the email you use to signon at Ubuntu.<br>E.g. my mail is <a href="mailto:luca.dionisi@gmail.com">luca.dionisi@gmail.com</a> while user on my RPi is luca-dionisi.<br><br>2. Try flag "-v" with ssh. Check the id_rsa* files that it tries with.<u></u><u></u></p><div><div><p class="MsoNormal"><br><br><br><br>On Fri, Feb 3, 2017 at 4:08 PM, George Gundry <<a href="mailto:george.gundry@4dml.com">george.gundry@4dml.com</a>> wrote:<br>> I followed the instructions here:<br>> <a href="https://developer.ubuntu.com/core/get-started/raspberry-pi-2-3">https://developer.ubuntu.com/<wbr>core/get-started/raspberry-pi-<wbr>2-3</a><br>><br>> I have created a Ubuntu SSO account<br>><br>> uploaded my SSH public key,<br>><br>> used Win32DiskImager to burn the Ubuntu Core Pi3 image<br>> ubuntu-core-16-pi3.img to an SD card,<br>><br>> booted the Pi3 connected to Ethernet,<br>><br>> correctly get the “Press Enter to Configure” message,<br>><br>> pass Network Config,<br>><br>> entered my SSO account,<br>><br>> got the ”Contacting Store” message,<br>><br>> got the success reply back from the store saying the key had been stored on<br>> the Pi and I can use ssh <username>@<ip address><br>><br>> Try to connect to pi over ssh as instructed, private key auth fails …<br>><br>> Things I have tried:<br>><br>> Different terminal emulators – putty; Remote Terminal; TokenShell/MD;<br>> command line ssh from another Pi; forcing use of specific private key with<br>> -I option<br>><br>> Different SSH key pairs – known good pair that we use elsewhere; new keygen<br>> generated keys with passphrase; new keygen generated keys without passphrase<br>><br>> Different Pi’s – Work and home<br>><br>> Different Ubuntu SSO accounts – created a new account from scratch, same<br>> result.<br>><br>> In desperation, I tried to load 16.04 LTS, and this was successful so I am<br>> confident the kit (Pi, SD card, network connection) is good.<br>><br>> Nothing I have tried makes any difference, the private key is never accepted<br>> by the Ubuntu Core device.<br>><br>> I am keen to investigate migrating our IoT product from Raspbian Lite to<br>> Core, but can’t seem to get beyond step one !<br>><br>><br>><br>><u></u><u></u></p></div></div><p class="MsoNormal"><span class="m_-2895149798073218515hoenzb"><span style="color:#888888">> --</span></span><span style="color:#888888"><br><span class="m_-2895149798073218515hoenzb">> Snapcraft mailing list</span><br><span class="m_-2895149798073218515hoenzb">> <a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a></span><br><span class="m_-2895149798073218515hoenzb">> Modify settings or unsubscribe at:</span><br><span class="m_-2895149798073218515hoenzb">> <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a></span><br><span class="m_-2895149798073218515hoenzb">></span><br><br><span class="m_-2895149798073218515hoenzb">--</span><br><span class="m_-2895149798073218515hoenzb">Snapcraft mailing list</span><br><span class="m_-2895149798073218515hoenzb"><a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a></span><br><span class="m_-2895149798073218515hoenzb">Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a></span></span><u></u><u></u></p></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div><br>--<br>Snapcraft mailing list<br><a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br><br></blockquote></div><br></div><br><br></div> <br><br></div>