FileZilla will not connect to Google Cloud VM after changing the SSH Keys Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Come Celebrate our 10 Year Anniversary!COPSSH RSA only authentication connection problemLaravel Forge SSH on windows not recognizedUnable to SSH Google Cloud Engine instance through gcloud & Putty from Windows 10Google Cloud Platform: ssh from VM_1 in project_A to VM_2 in project_BTerraform ssh error on Google Cloud Instance?Google Cloud Compute (GCE) Using gcloud Does Not Create Valid Formatted Public Key for SSHDownload public & private keys from Google Cloud InstanceUsers 'overriding' each other when trying to connect to SFTP on Google Compute Engine VM instanceGoogle Console SSH from the Browser will not connectLost connection with ssh server through web console ssh (GCP, Putty, gcloud terminal, Filezilla)

Did pre-Columbian Americans know the spherical shape of the Earth?

Most effective melee weapons for arboreal combat? (pre-gunpowder technology)

Is it dangerous to install hacking tools on my private linux machine?

malloc in main() or malloc in another function: allocating memory for a struct and its members

What does Turing mean by this statement?

What initially awakened the Balrog?

Is there public access to the Meteor Crater in Arizona?

What does the writing on Poe's helmet say?

Can an iPhone 7 be made to function as a NFC Tag?

What is a more techy Technical Writer job title that isn't cutesy or confusing?

Should a wizard buy fine inks every time he want to copy spells into his spellbook?

Can two people see the same photon?

After Sam didn't return home in the end, were he and Al still friends?

How often does castling occur in grandmaster games?

Why do early math courses focus on the cross sections of a cone and not on other 3D objects?

Why datecode is SO IMPORTANT to chip manufacturers?

Question about this thing for timpani

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

Moving a wrapfig vertically to encroach partially on a subsection title

Delete free apps from library

What are the main differences between the original Stargate SG-1 and the Final Cut edition?

Why is it faster to reheat something than it is to cook it?

Asymptotics question

Why is std::move not [[nodiscard]] in C++20?



FileZilla will not connect to Google Cloud VM after changing the SSH Keys



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Come Celebrate our 10 Year Anniversary!COPSSH RSA only authentication connection problemLaravel Forge SSH on windows not recognizedUnable to SSH Google Cloud Engine instance through gcloud & Putty from Windows 10Google Cloud Platform: ssh from VM_1 in project_A to VM_2 in project_BTerraform ssh error on Google Cloud Instance?Google Cloud Compute (GCE) Using gcloud Does Not Create Valid Formatted Public Key for SSHDownload public & private keys from Google Cloud InstanceUsers 'overriding' each other when trying to connect to SFTP on Google Compute Engine VM instanceGoogle Console SSH from the Browser will not connectLost connection with ssh server through web console ssh (GCP, Putty, gcloud terminal, Filezilla)



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I have been using FileZilla to manage files on my GCP VM using SFTP. I created a key pair using KeyGen on Ubuntu Linux, copied the pub key into the SSH Keys on my VM instance and loaded the private key into FileZilla, where it converted it to a ppk format. That worked great.



This weekend, my pub key expired, so I created a new key pair and placed the keys in the same way I had previously. But now, FileZilla gives me an error "Error: Disconnected: No supported authentication methods available (server sent: publickey)".



I tried putting the pub key in the VM instance, in the project, and in both places at once, but no combination has worked.



Per other solutions I found online, I have ensured that the local key files are in a folder that FileZilla has full access to.



I've been fighting with this for hours, and am at wit's end.



Edit:
Here's the sequences of messages on FileZilla when I try to connect:



Status: Connecting to 104.199.127.13...
Response: fzSftp started, protocol_version=4
Command: keyfile "/home/steve/.ssh/teamifi-key.ppk"
Command: open "steve@104.199.127.13" 22
Error: Disconnected: No supported authentication methods available (server sent: publickey)
Error: Could not connect to server









share|improve this question






























    0















    I have been using FileZilla to manage files on my GCP VM using SFTP. I created a key pair using KeyGen on Ubuntu Linux, copied the pub key into the SSH Keys on my VM instance and loaded the private key into FileZilla, where it converted it to a ppk format. That worked great.



    This weekend, my pub key expired, so I created a new key pair and placed the keys in the same way I had previously. But now, FileZilla gives me an error "Error: Disconnected: No supported authentication methods available (server sent: publickey)".



    I tried putting the pub key in the VM instance, in the project, and in both places at once, but no combination has worked.



    Per other solutions I found online, I have ensured that the local key files are in a folder that FileZilla has full access to.



    I've been fighting with this for hours, and am at wit's end.



    Edit:
    Here's the sequences of messages on FileZilla when I try to connect:



    Status: Connecting to 104.199.127.13...
    Response: fzSftp started, protocol_version=4
    Command: keyfile "/home/steve/.ssh/teamifi-key.ppk"
    Command: open "steve@104.199.127.13" 22
    Error: Disconnected: No supported authentication methods available (server sent: publickey)
    Error: Could not connect to server









    share|improve this question


























      0












      0








      0








      I have been using FileZilla to manage files on my GCP VM using SFTP. I created a key pair using KeyGen on Ubuntu Linux, copied the pub key into the SSH Keys on my VM instance and loaded the private key into FileZilla, where it converted it to a ppk format. That worked great.



      This weekend, my pub key expired, so I created a new key pair and placed the keys in the same way I had previously. But now, FileZilla gives me an error "Error: Disconnected: No supported authentication methods available (server sent: publickey)".



      I tried putting the pub key in the VM instance, in the project, and in both places at once, but no combination has worked.



      Per other solutions I found online, I have ensured that the local key files are in a folder that FileZilla has full access to.



      I've been fighting with this for hours, and am at wit's end.



      Edit:
      Here's the sequences of messages on FileZilla when I try to connect:



      Status: Connecting to 104.199.127.13...
      Response: fzSftp started, protocol_version=4
      Command: keyfile "/home/steve/.ssh/teamifi-key.ppk"
      Command: open "steve@104.199.127.13" 22
      Error: Disconnected: No supported authentication methods available (server sent: publickey)
      Error: Could not connect to server









      share|improve this question
















      I have been using FileZilla to manage files on my GCP VM using SFTP. I created a key pair using KeyGen on Ubuntu Linux, copied the pub key into the SSH Keys on my VM instance and loaded the private key into FileZilla, where it converted it to a ppk format. That worked great.



      This weekend, my pub key expired, so I created a new key pair and placed the keys in the same way I had previously. But now, FileZilla gives me an error "Error: Disconnected: No supported authentication methods available (server sent: publickey)".



      I tried putting the pub key in the VM instance, in the project, and in both places at once, but no combination has worked.



      Per other solutions I found online, I have ensured that the local key files are in a folder that FileZilla has full access to.



      I've been fighting with this for hours, and am at wit's end.



      Edit:
      Here's the sequences of messages on FileZilla when I try to connect:



      Status: Connecting to 104.199.127.13...
      Response: fzSftp started, protocol_version=4
      Command: keyfile "/home/steve/.ssh/teamifi-key.ppk"
      Command: open "steve@104.199.127.13" 22
      Error: Disconnected: No supported authentication methods available (server sent: publickey)
      Error: Could not connect to server






      google-cloud-platform sftp google-compute-engine ssh-keys






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 19 '18 at 12:53









      Adrián

      1782




      1782










      asked Apr 1 '18 at 18:39









      Steve EubanksSteve Eubanks

      13




      13




















          1 Answer
          1






          active

          oldest

          votes


















          0














          You could try to connect to the instance via browser (the SSH button on the cloud console) or a gcloud compute ssh command from the Cloud Shell to make sure that you are able to connect to the instance via SSH.



          Then from the instance check the security logs (/var/log/secure) to see the reason why your connection is denied.



          In the serial port logs of the instance you can also see if the SSH key metadata has been added, and if SSH connectivity has been denied and why.
          I hope this helps






          share|improve this answer

























          • Thanks for your suggestions. I can access my instance via the cloud console, and via the gcloud ssh command - these just aren't very convenient for transferring files. So I set up additional users and was using one of those with ssh keys in FileZilla when things stopped working. I looked for the /var/log/secure that you mentioned, and I don't have anything called secure in the log directory. I have auth.log, but trying to ssh into the instance does not produce any output in that log file. Same for syslog and user.log.

            – Steve Eubanks
            Apr 4 '18 at 1:36












          • Hi, did you look in the log of the serial port of the instance ? You access the logs from the properties of the instance in serial port1 (Console)

            – Django
            Apr 6 '18 at 14:41











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "2"
          ;
          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f905528%2ffilezilla-will-not-connect-to-google-cloud-vm-after-changing-the-ssh-keys%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You could try to connect to the instance via browser (the SSH button on the cloud console) or a gcloud compute ssh command from the Cloud Shell to make sure that you are able to connect to the instance via SSH.



          Then from the instance check the security logs (/var/log/secure) to see the reason why your connection is denied.



          In the serial port logs of the instance you can also see if the SSH key metadata has been added, and if SSH connectivity has been denied and why.
          I hope this helps






          share|improve this answer

























          • Thanks for your suggestions. I can access my instance via the cloud console, and via the gcloud ssh command - these just aren't very convenient for transferring files. So I set up additional users and was using one of those with ssh keys in FileZilla when things stopped working. I looked for the /var/log/secure that you mentioned, and I don't have anything called secure in the log directory. I have auth.log, but trying to ssh into the instance does not produce any output in that log file. Same for syslog and user.log.

            – Steve Eubanks
            Apr 4 '18 at 1:36












          • Hi, did you look in the log of the serial port of the instance ? You access the logs from the properties of the instance in serial port1 (Console)

            – Django
            Apr 6 '18 at 14:41















          0














          You could try to connect to the instance via browser (the SSH button on the cloud console) or a gcloud compute ssh command from the Cloud Shell to make sure that you are able to connect to the instance via SSH.



          Then from the instance check the security logs (/var/log/secure) to see the reason why your connection is denied.



          In the serial port logs of the instance you can also see if the SSH key metadata has been added, and if SSH connectivity has been denied and why.
          I hope this helps






          share|improve this answer

























          • Thanks for your suggestions. I can access my instance via the cloud console, and via the gcloud ssh command - these just aren't very convenient for transferring files. So I set up additional users and was using one of those with ssh keys in FileZilla when things stopped working. I looked for the /var/log/secure that you mentioned, and I don't have anything called secure in the log directory. I have auth.log, but trying to ssh into the instance does not produce any output in that log file. Same for syslog and user.log.

            – Steve Eubanks
            Apr 4 '18 at 1:36












          • Hi, did you look in the log of the serial port of the instance ? You access the logs from the properties of the instance in serial port1 (Console)

            – Django
            Apr 6 '18 at 14:41













          0












          0








          0







          You could try to connect to the instance via browser (the SSH button on the cloud console) or a gcloud compute ssh command from the Cloud Shell to make sure that you are able to connect to the instance via SSH.



          Then from the instance check the security logs (/var/log/secure) to see the reason why your connection is denied.



          In the serial port logs of the instance you can also see if the SSH key metadata has been added, and if SSH connectivity has been denied and why.
          I hope this helps






          share|improve this answer















          You could try to connect to the instance via browser (the SSH button on the cloud console) or a gcloud compute ssh command from the Cloud Shell to make sure that you are able to connect to the instance via SSH.



          Then from the instance check the security logs (/var/log/secure) to see the reason why your connection is denied.



          In the serial port logs of the instance you can also see if the SSH key metadata has been added, and if SSH connectivity has been denied and why.
          I hope this helps







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 2 '18 at 15:57

























          answered Apr 2 '18 at 15:18









          DjangoDjango

          31215




          31215












          • Thanks for your suggestions. I can access my instance via the cloud console, and via the gcloud ssh command - these just aren't very convenient for transferring files. So I set up additional users and was using one of those with ssh keys in FileZilla when things stopped working. I looked for the /var/log/secure that you mentioned, and I don't have anything called secure in the log directory. I have auth.log, but trying to ssh into the instance does not produce any output in that log file. Same for syslog and user.log.

            – Steve Eubanks
            Apr 4 '18 at 1:36












          • Hi, did you look in the log of the serial port of the instance ? You access the logs from the properties of the instance in serial port1 (Console)

            – Django
            Apr 6 '18 at 14:41

















          • Thanks for your suggestions. I can access my instance via the cloud console, and via the gcloud ssh command - these just aren't very convenient for transferring files. So I set up additional users and was using one of those with ssh keys in FileZilla when things stopped working. I looked for the /var/log/secure that you mentioned, and I don't have anything called secure in the log directory. I have auth.log, but trying to ssh into the instance does not produce any output in that log file. Same for syslog and user.log.

            – Steve Eubanks
            Apr 4 '18 at 1:36












          • Hi, did you look in the log of the serial port of the instance ? You access the logs from the properties of the instance in serial port1 (Console)

            – Django
            Apr 6 '18 at 14:41
















          Thanks for your suggestions. I can access my instance via the cloud console, and via the gcloud ssh command - these just aren't very convenient for transferring files. So I set up additional users and was using one of those with ssh keys in FileZilla when things stopped working. I looked for the /var/log/secure that you mentioned, and I don't have anything called secure in the log directory. I have auth.log, but trying to ssh into the instance does not produce any output in that log file. Same for syslog and user.log.

          – Steve Eubanks
          Apr 4 '18 at 1:36






          Thanks for your suggestions. I can access my instance via the cloud console, and via the gcloud ssh command - these just aren't very convenient for transferring files. So I set up additional users and was using one of those with ssh keys in FileZilla when things stopped working. I looked for the /var/log/secure that you mentioned, and I don't have anything called secure in the log directory. I have auth.log, but trying to ssh into the instance does not produce any output in that log file. Same for syslog and user.log.

          – Steve Eubanks
          Apr 4 '18 at 1:36














          Hi, did you look in the log of the serial port of the instance ? You access the logs from the properties of the instance in serial port1 (Console)

          – Django
          Apr 6 '18 at 14:41





          Hi, did you look in the log of the serial port of the instance ? You access the logs from the properties of the instance in serial port1 (Console)

          – Django
          Apr 6 '18 at 14:41

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f905528%2ffilezilla-will-not-connect-to-google-cloud-vm-after-changing-the-ssh-keys%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

          Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

          What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company