Ubuntu Core on Raspberry Pi ssh failed

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am attempting to install and use the Ubuntu Core distro on a Raspberry Pi 3 for the first time.



My SD card is formatted in MS_DOS FAT and the the ISO is flashed onto the card.



I have gone through the process of attaching my Pi to a monitor and keyboard and supplying my Ubuntu One email address.
At the end of the process, the monitor supplies ssh details for connecting to the Pi.



I have also generated an id_rsa.pub key and supplied it to my Ubuntu One ssh keys area.



With all that done, when I try to ssh into the Pi, I get one of 2 messages.



The first message I got was:



@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:QrfHNJLLJ4wjeQAPoVK+W0lhI7pfww3liCVI3/IoJCk.
Please contact your system administrator.
Add correct host key in /Users/userx/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/userx/.ssh/known_hosts:29
ECDSA host key for 192.168.0.14 has changed and you have requested strict checking.
Host key verification failed.


After a while, it didn't report the above message but instead requested a password - which by definition Ubuntu Core is not supposed to utilise.



I need help please.










share|improve this question



























    up vote
    0
    down vote

    favorite












    I am attempting to install and use the Ubuntu Core distro on a Raspberry Pi 3 for the first time.



    My SD card is formatted in MS_DOS FAT and the the ISO is flashed onto the card.



    I have gone through the process of attaching my Pi to a monitor and keyboard and supplying my Ubuntu One email address.
    At the end of the process, the monitor supplies ssh details for connecting to the Pi.



    I have also generated an id_rsa.pub key and supplied it to my Ubuntu One ssh keys area.



    With all that done, when I try to ssh into the Pi, I get one of 2 messages.



    The first message I got was:



    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
    Someone could be eavesdropping on you right now (man-in-the-middle attack)!
    It is also possible that a host key has just been changed.
    The fingerprint for the ECDSA key sent by the remote host is
    SHA256:QrfHNJLLJ4wjeQAPoVK+W0lhI7pfww3liCVI3/IoJCk.
    Please contact your system administrator.
    Add correct host key in /Users/userx/.ssh/known_hosts to get rid of this message.
    Offending ECDSA key in /Users/userx/.ssh/known_hosts:29
    ECDSA host key for 192.168.0.14 has changed and you have requested strict checking.
    Host key verification failed.


    After a while, it didn't report the above message but instead requested a password - which by definition Ubuntu Core is not supposed to utilise.



    I need help please.










    share|improve this question

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am attempting to install and use the Ubuntu Core distro on a Raspberry Pi 3 for the first time.



      My SD card is formatted in MS_DOS FAT and the the ISO is flashed onto the card.



      I have gone through the process of attaching my Pi to a monitor and keyboard and supplying my Ubuntu One email address.
      At the end of the process, the monitor supplies ssh details for connecting to the Pi.



      I have also generated an id_rsa.pub key and supplied it to my Ubuntu One ssh keys area.



      With all that done, when I try to ssh into the Pi, I get one of 2 messages.



      The first message I got was:



      @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
      @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
      @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
      IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
      Someone could be eavesdropping on you right now (man-in-the-middle attack)!
      It is also possible that a host key has just been changed.
      The fingerprint for the ECDSA key sent by the remote host is
      SHA256:QrfHNJLLJ4wjeQAPoVK+W0lhI7pfww3liCVI3/IoJCk.
      Please contact your system administrator.
      Add correct host key in /Users/userx/.ssh/known_hosts to get rid of this message.
      Offending ECDSA key in /Users/userx/.ssh/known_hosts:29
      ECDSA host key for 192.168.0.14 has changed and you have requested strict checking.
      Host key verification failed.


      After a while, it didn't report the above message but instead requested a password - which by definition Ubuntu Core is not supposed to utilise.



      I need help please.










      share|improve this question















      I am attempting to install and use the Ubuntu Core distro on a Raspberry Pi 3 for the first time.



      My SD card is formatted in MS_DOS FAT and the the ISO is flashed onto the card.



      I have gone through the process of attaching my Pi to a monitor and keyboard and supplying my Ubuntu One email address.
      At the end of the process, the monitor supplies ssh details for connecting to the Pi.



      I have also generated an id_rsa.pub key and supplied it to my Ubuntu One ssh keys area.



      With all that done, when I try to ssh into the Pi, I get one of 2 messages.



      The first message I got was:



      @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
      @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
      @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
      IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
      Someone could be eavesdropping on you right now (man-in-the-middle attack)!
      It is also possible that a host key has just been changed.
      The fingerprint for the ECDSA key sent by the remote host is
      SHA256:QrfHNJLLJ4wjeQAPoVK+W0lhI7pfww3liCVI3/IoJCk.
      Please contact your system administrator.
      Add correct host key in /Users/userx/.ssh/known_hosts to get rid of this message.
      Offending ECDSA key in /Users/userx/.ssh/known_hosts:29
      ECDSA host key for 192.168.0.14 has changed and you have requested strict checking.
      Host key verification failed.


      After a while, it didn't report the above message but instead requested a password - which by definition Ubuntu Core is not supposed to utilise.



      I need help please.







      ssh ubuntu-core






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 14 at 11:31









      pa4080

      12.3k52256




      12.3k52256










      asked Mar 14 at 11:20









      sisko

      1351110




      1351110




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Delete known Hosts under ~/.ssh/known_hosts then try to reconnect. You should upload the public keys before you start Ubuntu Core configuration.






          share|improve this answer




















          • The key I'm uploading is the contents of id_rsa.pub. However there is a known_hosts file which contains multiple keys from other ssh connections. Do I need to generate my Ubuntu One key in known_hosts and not id_rsa.pub ???
            – sisko
            Mar 14 at 14:24










          • Have you tried to use "ssh-keygen -R" command?
            – mariaczi
            Mar 14 at 14:27











          • Yes indeed! ssh-keygen -R 192.168.0.14
            – sisko
            Mar 14 at 14:53










          • The only thing I did differently in my initial attempts was setting the ssh-key after I configured the Raspberry Pi
            – sisko
            Mar 15 at 20:55

















          up vote
          2
          down vote













          As you can read in this message you have saved this host in your know_hosts file. So now, you should remove it:



          ssh-keygen -R IP_of_your_RPI


          and after that try to ssh to your RPI.
          But please remember, that you cann't have possibility to ssh to them on root account. It depends on ssh daemon configuration: "PermitRootLogin" option in /etc/sshd_config file.






          share|improve this answer




















          • I have tried you solution before posting and again after reading your post. When I execute the ssh again, I'm asked to confirm I want to continue connecting and I of course respond 'yes'. However, I'm then asked for a password. I don't have one and from what I've read there shouldn't be a password request
            – sisko
            Mar 14 at 14:21










          • Which username are you using to SSH in? It should be the developer name you chose when creating your Ubuntu One account.
            – Kyle
            Mar 14 at 14:40










          • The username on the personal details page
            – sisko
            Mar 14 at 16:14











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1014853%2fubuntu-core-on-raspberry-pi-ssh-failed%23new-answer', 'question_page');

          );

          Post as a guest






























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote



          accepted










          Delete known Hosts under ~/.ssh/known_hosts then try to reconnect. You should upload the public keys before you start Ubuntu Core configuration.






          share|improve this answer




















          • The key I'm uploading is the contents of id_rsa.pub. However there is a known_hosts file which contains multiple keys from other ssh connections. Do I need to generate my Ubuntu One key in known_hosts and not id_rsa.pub ???
            – sisko
            Mar 14 at 14:24










          • Have you tried to use "ssh-keygen -R" command?
            – mariaczi
            Mar 14 at 14:27











          • Yes indeed! ssh-keygen -R 192.168.0.14
            – sisko
            Mar 14 at 14:53










          • The only thing I did differently in my initial attempts was setting the ssh-key after I configured the Raspberry Pi
            – sisko
            Mar 15 at 20:55














          up vote
          1
          down vote



          accepted










          Delete known Hosts under ~/.ssh/known_hosts then try to reconnect. You should upload the public keys before you start Ubuntu Core configuration.






          share|improve this answer




















          • The key I'm uploading is the contents of id_rsa.pub. However there is a known_hosts file which contains multiple keys from other ssh connections. Do I need to generate my Ubuntu One key in known_hosts and not id_rsa.pub ???
            – sisko
            Mar 14 at 14:24










          • Have you tried to use "ssh-keygen -R" command?
            – mariaczi
            Mar 14 at 14:27











          • Yes indeed! ssh-keygen -R 192.168.0.14
            – sisko
            Mar 14 at 14:53










          • The only thing I did differently in my initial attempts was setting the ssh-key after I configured the Raspberry Pi
            – sisko
            Mar 15 at 20:55












          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          Delete known Hosts under ~/.ssh/known_hosts then try to reconnect. You should upload the public keys before you start Ubuntu Core configuration.






          share|improve this answer












          Delete known Hosts under ~/.ssh/known_hosts then try to reconnect. You should upload the public keys before you start Ubuntu Core configuration.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 14 at 13:30









          Rustam Isaev

          514




          514











          • The key I'm uploading is the contents of id_rsa.pub. However there is a known_hosts file which contains multiple keys from other ssh connections. Do I need to generate my Ubuntu One key in known_hosts and not id_rsa.pub ???
            – sisko
            Mar 14 at 14:24










          • Have you tried to use "ssh-keygen -R" command?
            – mariaczi
            Mar 14 at 14:27











          • Yes indeed! ssh-keygen -R 192.168.0.14
            – sisko
            Mar 14 at 14:53










          • The only thing I did differently in my initial attempts was setting the ssh-key after I configured the Raspberry Pi
            – sisko
            Mar 15 at 20:55
















          • The key I'm uploading is the contents of id_rsa.pub. However there is a known_hosts file which contains multiple keys from other ssh connections. Do I need to generate my Ubuntu One key in known_hosts and not id_rsa.pub ???
            – sisko
            Mar 14 at 14:24










          • Have you tried to use "ssh-keygen -R" command?
            – mariaczi
            Mar 14 at 14:27











          • Yes indeed! ssh-keygen -R 192.168.0.14
            – sisko
            Mar 14 at 14:53










          • The only thing I did differently in my initial attempts was setting the ssh-key after I configured the Raspberry Pi
            – sisko
            Mar 15 at 20:55















          The key I'm uploading is the contents of id_rsa.pub. However there is a known_hosts file which contains multiple keys from other ssh connections. Do I need to generate my Ubuntu One key in known_hosts and not id_rsa.pub ???
          – sisko
          Mar 14 at 14:24




          The key I'm uploading is the contents of id_rsa.pub. However there is a known_hosts file which contains multiple keys from other ssh connections. Do I need to generate my Ubuntu One key in known_hosts and not id_rsa.pub ???
          – sisko
          Mar 14 at 14:24












          Have you tried to use "ssh-keygen -R" command?
          – mariaczi
          Mar 14 at 14:27





          Have you tried to use "ssh-keygen -R" command?
          – mariaczi
          Mar 14 at 14:27













          Yes indeed! ssh-keygen -R 192.168.0.14
          – sisko
          Mar 14 at 14:53




          Yes indeed! ssh-keygen -R 192.168.0.14
          – sisko
          Mar 14 at 14:53












          The only thing I did differently in my initial attempts was setting the ssh-key after I configured the Raspberry Pi
          – sisko
          Mar 15 at 20:55




          The only thing I did differently in my initial attempts was setting the ssh-key after I configured the Raspberry Pi
          – sisko
          Mar 15 at 20:55












          up vote
          2
          down vote













          As you can read in this message you have saved this host in your know_hosts file. So now, you should remove it:



          ssh-keygen -R IP_of_your_RPI


          and after that try to ssh to your RPI.
          But please remember, that you cann't have possibility to ssh to them on root account. It depends on ssh daemon configuration: "PermitRootLogin" option in /etc/sshd_config file.






          share|improve this answer




















          • I have tried you solution before posting and again after reading your post. When I execute the ssh again, I'm asked to confirm I want to continue connecting and I of course respond 'yes'. However, I'm then asked for a password. I don't have one and from what I've read there shouldn't be a password request
            – sisko
            Mar 14 at 14:21










          • Which username are you using to SSH in? It should be the developer name you chose when creating your Ubuntu One account.
            – Kyle
            Mar 14 at 14:40










          • The username on the personal details page
            – sisko
            Mar 14 at 16:14















          up vote
          2
          down vote













          As you can read in this message you have saved this host in your know_hosts file. So now, you should remove it:



          ssh-keygen -R IP_of_your_RPI


          and after that try to ssh to your RPI.
          But please remember, that you cann't have possibility to ssh to them on root account. It depends on ssh daemon configuration: "PermitRootLogin" option in /etc/sshd_config file.






          share|improve this answer




















          • I have tried you solution before posting and again after reading your post. When I execute the ssh again, I'm asked to confirm I want to continue connecting and I of course respond 'yes'. However, I'm then asked for a password. I don't have one and from what I've read there shouldn't be a password request
            – sisko
            Mar 14 at 14:21










          • Which username are you using to SSH in? It should be the developer name you chose when creating your Ubuntu One account.
            – Kyle
            Mar 14 at 14:40










          • The username on the personal details page
            – sisko
            Mar 14 at 16:14













          up vote
          2
          down vote










          up vote
          2
          down vote









          As you can read in this message you have saved this host in your know_hosts file. So now, you should remove it:



          ssh-keygen -R IP_of_your_RPI


          and after that try to ssh to your RPI.
          But please remember, that you cann't have possibility to ssh to them on root account. It depends on ssh daemon configuration: "PermitRootLogin" option in /etc/sshd_config file.






          share|improve this answer












          As you can read in this message you have saved this host in your know_hosts file. So now, you should remove it:



          ssh-keygen -R IP_of_your_RPI


          and after that try to ssh to your RPI.
          But please remember, that you cann't have possibility to ssh to them on root account. It depends on ssh daemon configuration: "PermitRootLogin" option in /etc/sshd_config file.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 14 at 11:26









          mariaczi

          31915




          31915











          • I have tried you solution before posting and again after reading your post. When I execute the ssh again, I'm asked to confirm I want to continue connecting and I of course respond 'yes'. However, I'm then asked for a password. I don't have one and from what I've read there shouldn't be a password request
            – sisko
            Mar 14 at 14:21










          • Which username are you using to SSH in? It should be the developer name you chose when creating your Ubuntu One account.
            – Kyle
            Mar 14 at 14:40










          • The username on the personal details page
            – sisko
            Mar 14 at 16:14

















          • I have tried you solution before posting and again after reading your post. When I execute the ssh again, I'm asked to confirm I want to continue connecting and I of course respond 'yes'. However, I'm then asked for a password. I don't have one and from what I've read there shouldn't be a password request
            – sisko
            Mar 14 at 14:21










          • Which username are you using to SSH in? It should be the developer name you chose when creating your Ubuntu One account.
            – Kyle
            Mar 14 at 14:40










          • The username on the personal details page
            – sisko
            Mar 14 at 16:14
















          I have tried you solution before posting and again after reading your post. When I execute the ssh again, I'm asked to confirm I want to continue connecting and I of course respond 'yes'. However, I'm then asked for a password. I don't have one and from what I've read there shouldn't be a password request
          – sisko
          Mar 14 at 14:21




          I have tried you solution before posting and again after reading your post. When I execute the ssh again, I'm asked to confirm I want to continue connecting and I of course respond 'yes'. However, I'm then asked for a password. I don't have one and from what I've read there shouldn't be a password request
          – sisko
          Mar 14 at 14:21












          Which username are you using to SSH in? It should be the developer name you chose when creating your Ubuntu One account.
          – Kyle
          Mar 14 at 14:40




          Which username are you using to SSH in? It should be the developer name you chose when creating your Ubuntu One account.
          – Kyle
          Mar 14 at 14:40












          The username on the personal details page
          – sisko
          Mar 14 at 16:14





          The username on the personal details page
          – sisko
          Mar 14 at 16:14


















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1014853%2fubuntu-core-on-raspberry-pi-ssh-failed%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491