gcloud compute ssh stopsWhat is the difference between Google App Engine and Google Compute Engine?Why is Google Cloud SDK (gcloud) trying to access a local MySQL instance?Google Compute Engine: SSH-Error while trying to connect to an instancePuTTY command line error while connecting to google datalab instanceGoogle Cloud SDK “Curl Unrecognized”How to connect to a new Windows VM with powershell, but without the usage of the gcloud command or the project dashboard?Reset the Google Compute engine VM Could not SSH into the instanceNone of the SSH connection options are workinghow to set variable name for google cloud instanceSSH tunnel to a google cloud VM from windows and putty : Network error : connection timed out

What do you call a Matrix-like slowdown and camera movement effect?

How to write a macro that is braces sensitive?

Has the BBC provided arguments for saying Brexit being cancelled is unlikely?

Why don't electromagnetic waves interact with each other?

What typically incentivizes a professor to change jobs to a lower ranking university?

Japan - Plan around max visa duration

Smoothness of finite-dimensional functional calculus

Basic combinations logic doubt in probability

Why don't electron-positron collisions release infinite energy?

Can I make popcorn with any corn?

How does one intimidate enemies without having the capacity for violence?

Is it legal for company to use my work email to pretend I still work there?

can i play a electric guitar through a bass amp?

Have astronauts in space suits ever taken selfies? If so, how?

How does strength of boric acid solution increase in presence of salicylic acid?

is there really no realistic way for skeleton monster to move around without magic?

How can bays and straits be determined in a procedurally generated map?

Why Is Death Allowed In the Matrix?

How is it possible to have an ability score that is less than 3?

What do the dots in this tr command do: tr .............A-Z A-ZA-Z <<< "JVPQBOV" (with 13 dots)

How to say job offer in Mandarin/Cantonese?

Why are 150k or 200k jobs considered good when there are 300k+ births a month?

Languages that we cannot (dis)prove to be Context-Free

DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?



gcloud compute ssh stops


What is the difference between Google App Engine and Google Compute Engine?Why is Google Cloud SDK (gcloud) trying to access a local MySQL instance?Google Compute Engine: SSH-Error while trying to connect to an instancePuTTY command line error while connecting to google datalab instanceGoogle Cloud SDK “Curl Unrecognized”How to connect to a new Windows VM with powershell, but without the usage of the gcloud command or the project dashboard?Reset the Google Compute engine VM Could not SSH into the instanceNone of the SSH connection options are workinghow to set variable name for google cloud instanceSSH tunnel to a google cloud VM from windows and putty : Network error : connection timed out






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








1















I am using gcloud ssh to connect gce.



> gcloud compute --project "first-medium-2****8" ssh --zone "us-east1-b" "instance-2"


I entered the above command to powershell ,but it replies



>Using username "hogehoge".

>Authenticating with public key "DESKTOP-****hogehoge"


and stops. Nothing happened after all.



Yesterday I did the same thing and there was no problem.



But today, I can't. I tried gcloud init and reinstalled the gcloud.



But nothing changed. What should I do to solve this problem?



Additonal information.



  • OS Windows10


  • Google Cloud SDK 237.0.0


  • PowerShell 5.1.17134.590


  • Putty 0.70 (only one installation)


note1:I found I could use cloud shell without problem.
But, cloud shell has timeout.So I prefer gcloud to cloud shell.



note2:When I use cloudshell, it connects as "tomotomo".
Not "hogehoge" which username when I use gcloud.



When I run "gcloud compute ssh VM_NAME --verbosity=debug --log-http"



it replies



>DEBUG: SSH Known Hosts File [C:Usershogehoge.sshgoogle_compute_known_hosts] could not be opened: Unable to read file
[C:Usershogehoge.sshgoogle_compute_known_hosts]: [Errno 2] No such file or directory: u'C:\Users\hogehoge\.ssh\goo
gle_compute_known_hosts'
DEBUG: Current SSH keys in project: [u'tomotomo:ssh-rsa AAAAB***
DEBUG: Running command [C:UsershogehogeAppDataLocalGoogleCloud SDKgoogle-cloud-sdkbinsdkputty.exe -t -i C:User
shogehoge.sshgoogle_compute_engine.ppk hogehoge@3*****].
DEBUG: Executing command: [u'C:\Users\hogehoge\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\sdk\putty.ex
e', u'-t', u'-i', u'C:\Users\hogehoge\.ssh\google_compute_engine.ppk', u'hogehoge@3*****']


It was very long, so I only extract which I think important.










share|improve this question
























  • What OS? What version of PowerShell? What version of putty? What version of gcloud? Do you have more than one installation of putty (common on Windows)? The more details the better.

    – John Hanley
    Mar 9 at 5:29











  • Also, use debugging which might help you see the problem: gcloud compute ssh VM_NAME --verbosity=debug --log-http

    – John Hanley
    Mar 9 at 6:31











  • @John Hanley I add more information. I hope it helps you.

    – redpawn
    Mar 9 at 6:42












  • What output to you get when you running the command in debug mode? What happens if you run your command from a Command Prompt instead of Powershell?

    – John Hanley
    Mar 9 at 7:08






  • 1





    I finally solve the problem. First I run "gcloud compute ssh VM_NAME --verbosity=debug --log-http" and run putty.exe directly. But I still have a same problem.It means putty.exe goes wrong. So I run "putty -cleanup" to cleanup putty and the problem solved. Would you write an answer?

    – redpawn
    Mar 9 at 15:19

















1















I am using gcloud ssh to connect gce.



> gcloud compute --project "first-medium-2****8" ssh --zone "us-east1-b" "instance-2"


I entered the above command to powershell ,but it replies



>Using username "hogehoge".

>Authenticating with public key "DESKTOP-****hogehoge"


and stops. Nothing happened after all.



Yesterday I did the same thing and there was no problem.



But today, I can't. I tried gcloud init and reinstalled the gcloud.



But nothing changed. What should I do to solve this problem?



Additonal information.



  • OS Windows10


  • Google Cloud SDK 237.0.0


  • PowerShell 5.1.17134.590


  • Putty 0.70 (only one installation)


note1:I found I could use cloud shell without problem.
But, cloud shell has timeout.So I prefer gcloud to cloud shell.



note2:When I use cloudshell, it connects as "tomotomo".
Not "hogehoge" which username when I use gcloud.



When I run "gcloud compute ssh VM_NAME --verbosity=debug --log-http"



it replies



>DEBUG: SSH Known Hosts File [C:Usershogehoge.sshgoogle_compute_known_hosts] could not be opened: Unable to read file
[C:Usershogehoge.sshgoogle_compute_known_hosts]: [Errno 2] No such file or directory: u'C:\Users\hogehoge\.ssh\goo
gle_compute_known_hosts'
DEBUG: Current SSH keys in project: [u'tomotomo:ssh-rsa AAAAB***
DEBUG: Running command [C:UsershogehogeAppDataLocalGoogleCloud SDKgoogle-cloud-sdkbinsdkputty.exe -t -i C:User
shogehoge.sshgoogle_compute_engine.ppk hogehoge@3*****].
DEBUG: Executing command: [u'C:\Users\hogehoge\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\sdk\putty.ex
e', u'-t', u'-i', u'C:\Users\hogehoge\.ssh\google_compute_engine.ppk', u'hogehoge@3*****']


It was very long, so I only extract which I think important.










share|improve this question
























  • What OS? What version of PowerShell? What version of putty? What version of gcloud? Do you have more than one installation of putty (common on Windows)? The more details the better.

    – John Hanley
    Mar 9 at 5:29











  • Also, use debugging which might help you see the problem: gcloud compute ssh VM_NAME --verbosity=debug --log-http

    – John Hanley
    Mar 9 at 6:31











  • @John Hanley I add more information. I hope it helps you.

    – redpawn
    Mar 9 at 6:42












  • What output to you get when you running the command in debug mode? What happens if you run your command from a Command Prompt instead of Powershell?

    – John Hanley
    Mar 9 at 7:08






  • 1





    I finally solve the problem. First I run "gcloud compute ssh VM_NAME --verbosity=debug --log-http" and run putty.exe directly. But I still have a same problem.It means putty.exe goes wrong. So I run "putty -cleanup" to cleanup putty and the problem solved. Would you write an answer?

    – redpawn
    Mar 9 at 15:19













1












1








1








I am using gcloud ssh to connect gce.



> gcloud compute --project "first-medium-2****8" ssh --zone "us-east1-b" "instance-2"


I entered the above command to powershell ,but it replies



>Using username "hogehoge".

>Authenticating with public key "DESKTOP-****hogehoge"


and stops. Nothing happened after all.



Yesterday I did the same thing and there was no problem.



But today, I can't. I tried gcloud init and reinstalled the gcloud.



But nothing changed. What should I do to solve this problem?



Additonal information.



  • OS Windows10


  • Google Cloud SDK 237.0.0


  • PowerShell 5.1.17134.590


  • Putty 0.70 (only one installation)


note1:I found I could use cloud shell without problem.
But, cloud shell has timeout.So I prefer gcloud to cloud shell.



note2:When I use cloudshell, it connects as "tomotomo".
Not "hogehoge" which username when I use gcloud.



When I run "gcloud compute ssh VM_NAME --verbosity=debug --log-http"



it replies



>DEBUG: SSH Known Hosts File [C:Usershogehoge.sshgoogle_compute_known_hosts] could not be opened: Unable to read file
[C:Usershogehoge.sshgoogle_compute_known_hosts]: [Errno 2] No such file or directory: u'C:\Users\hogehoge\.ssh\goo
gle_compute_known_hosts'
DEBUG: Current SSH keys in project: [u'tomotomo:ssh-rsa AAAAB***
DEBUG: Running command [C:UsershogehogeAppDataLocalGoogleCloud SDKgoogle-cloud-sdkbinsdkputty.exe -t -i C:User
shogehoge.sshgoogle_compute_engine.ppk hogehoge@3*****].
DEBUG: Executing command: [u'C:\Users\hogehoge\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\sdk\putty.ex
e', u'-t', u'-i', u'C:\Users\hogehoge\.ssh\google_compute_engine.ppk', u'hogehoge@3*****']


It was very long, so I only extract which I think important.










share|improve this question
















I am using gcloud ssh to connect gce.



> gcloud compute --project "first-medium-2****8" ssh --zone "us-east1-b" "instance-2"


I entered the above command to powershell ,but it replies



>Using username "hogehoge".

>Authenticating with public key "DESKTOP-****hogehoge"


and stops. Nothing happened after all.



Yesterday I did the same thing and there was no problem.



But today, I can't. I tried gcloud init and reinstalled the gcloud.



But nothing changed. What should I do to solve this problem?



Additonal information.



  • OS Windows10


  • Google Cloud SDK 237.0.0


  • PowerShell 5.1.17134.590


  • Putty 0.70 (only one installation)


note1:I found I could use cloud shell without problem.
But, cloud shell has timeout.So I prefer gcloud to cloud shell.



note2:When I use cloudshell, it connects as "tomotomo".
Not "hogehoge" which username when I use gcloud.



When I run "gcloud compute ssh VM_NAME --verbosity=debug --log-http"



it replies



>DEBUG: SSH Known Hosts File [C:Usershogehoge.sshgoogle_compute_known_hosts] could not be opened: Unable to read file
[C:Usershogehoge.sshgoogle_compute_known_hosts]: [Errno 2] No such file or directory: u'C:\Users\hogehoge\.ssh\goo
gle_compute_known_hosts'
DEBUG: Current SSH keys in project: [u'tomotomo:ssh-rsa AAAAB***
DEBUG: Running command [C:UsershogehogeAppDataLocalGoogleCloud SDKgoogle-cloud-sdkbinsdkputty.exe -t -i C:User
shogehoge.sshgoogle_compute_engine.ppk hogehoge@3*****].
DEBUG: Executing command: [u'C:\Users\hogehoge\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\sdk\putty.ex
e', u'-t', u'-i', u'C:\Users\hogehoge\.ssh\google_compute_engine.ppk', u'hogehoge@3*****']


It was very long, so I only extract which I think important.







google-cloud-platform google-compute-engine putty gcloud






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 9 at 19:21









John Hanley

17.4k2633




17.4k2633










asked Mar 9 at 3:17









redpawnredpawn

165




165












  • What OS? What version of PowerShell? What version of putty? What version of gcloud? Do you have more than one installation of putty (common on Windows)? The more details the better.

    – John Hanley
    Mar 9 at 5:29











  • Also, use debugging which might help you see the problem: gcloud compute ssh VM_NAME --verbosity=debug --log-http

    – John Hanley
    Mar 9 at 6:31











  • @John Hanley I add more information. I hope it helps you.

    – redpawn
    Mar 9 at 6:42












  • What output to you get when you running the command in debug mode? What happens if you run your command from a Command Prompt instead of Powershell?

    – John Hanley
    Mar 9 at 7:08






  • 1





    I finally solve the problem. First I run "gcloud compute ssh VM_NAME --verbosity=debug --log-http" and run putty.exe directly. But I still have a same problem.It means putty.exe goes wrong. So I run "putty -cleanup" to cleanup putty and the problem solved. Would you write an answer?

    – redpawn
    Mar 9 at 15:19

















  • What OS? What version of PowerShell? What version of putty? What version of gcloud? Do you have more than one installation of putty (common on Windows)? The more details the better.

    – John Hanley
    Mar 9 at 5:29











  • Also, use debugging which might help you see the problem: gcloud compute ssh VM_NAME --verbosity=debug --log-http

    – John Hanley
    Mar 9 at 6:31











  • @John Hanley I add more information. I hope it helps you.

    – redpawn
    Mar 9 at 6:42












  • What output to you get when you running the command in debug mode? What happens if you run your command from a Command Prompt instead of Powershell?

    – John Hanley
    Mar 9 at 7:08






  • 1





    I finally solve the problem. First I run "gcloud compute ssh VM_NAME --verbosity=debug --log-http" and run putty.exe directly. But I still have a same problem.It means putty.exe goes wrong. So I run "putty -cleanup" to cleanup putty and the problem solved. Would you write an answer?

    – redpawn
    Mar 9 at 15:19
















What OS? What version of PowerShell? What version of putty? What version of gcloud? Do you have more than one installation of putty (common on Windows)? The more details the better.

– John Hanley
Mar 9 at 5:29





What OS? What version of PowerShell? What version of putty? What version of gcloud? Do you have more than one installation of putty (common on Windows)? The more details the better.

– John Hanley
Mar 9 at 5:29













Also, use debugging which might help you see the problem: gcloud compute ssh VM_NAME --verbosity=debug --log-http

– John Hanley
Mar 9 at 6:31





Also, use debugging which might help you see the problem: gcloud compute ssh VM_NAME --verbosity=debug --log-http

– John Hanley
Mar 9 at 6:31













@John Hanley I add more information. I hope it helps you.

– redpawn
Mar 9 at 6:42






@John Hanley I add more information. I hope it helps you.

– redpawn
Mar 9 at 6:42














What output to you get when you running the command in debug mode? What happens if you run your command from a Command Prompt instead of Powershell?

– John Hanley
Mar 9 at 7:08





What output to you get when you running the command in debug mode? What happens if you run your command from a Command Prompt instead of Powershell?

– John Hanley
Mar 9 at 7:08




1




1





I finally solve the problem. First I run "gcloud compute ssh VM_NAME --verbosity=debug --log-http" and run putty.exe directly. But I still have a same problem.It means putty.exe goes wrong. So I run "putty -cleanup" to cleanup putty and the problem solved. Would you write an answer?

– redpawn
Mar 9 at 15:19





I finally solve the problem. First I run "gcloud compute ssh VM_NAME --verbosity=debug --log-http" and run putty.exe directly. But I still have a same problem.It means putty.exe goes wrong. So I run "putty -cleanup" to cleanup putty and the problem solved. Would you write an answer?

– redpawn
Mar 9 at 15:19












2 Answers
2






active

oldest

votes


















1














Running




putty -cleanup




solves this problem.



Putty saves some information in registry.(IP address,public key and so on)



This command removes those registries and random seed file.






share|improve this answer






























    0














    Running "putty -cleanup" as per @redpawn fixed the issue.






    share|improve this answer


















    • 1





      Dany - do you have any more information at Google on what putty -cleanup actually did behind the scenes to solve this problem?

      – John Hanley
      Mar 9 at 19:20











    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    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%2fstackoverflow.com%2fquestions%2f55073660%2fgcloud-compute-ssh-stops%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    Running




    putty -cleanup




    solves this problem.



    Putty saves some information in registry.(IP address,public key and so on)



    This command removes those registries and random seed file.






    share|improve this answer



























      1














      Running




      putty -cleanup




      solves this problem.



      Putty saves some information in registry.(IP address,public key and so on)



      This command removes those registries and random seed file.






      share|improve this answer

























        1












        1








        1







        Running




        putty -cleanup




        solves this problem.



        Putty saves some information in registry.(IP address,public key and so on)



        This command removes those registries and random seed file.






        share|improve this answer













        Running




        putty -cleanup




        solves this problem.



        Putty saves some information in registry.(IP address,public key and so on)



        This command removes those registries and random seed file.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 10 at 8:15









        redpawnredpawn

        165




        165























            0














            Running "putty -cleanup" as per @redpawn fixed the issue.






            share|improve this answer


















            • 1





              Dany - do you have any more information at Google on what putty -cleanup actually did behind the scenes to solve this problem?

              – John Hanley
              Mar 9 at 19:20















            0














            Running "putty -cleanup" as per @redpawn fixed the issue.






            share|improve this answer


















            • 1





              Dany - do you have any more information at Google on what putty -cleanup actually did behind the scenes to solve this problem?

              – John Hanley
              Mar 9 at 19:20













            0












            0








            0







            Running "putty -cleanup" as per @redpawn fixed the issue.






            share|improve this answer













            Running "putty -cleanup" as per @redpawn fixed the issue.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 9 at 17:06









            dany Ldany L

            40327




            40327







            • 1





              Dany - do you have any more information at Google on what putty -cleanup actually did behind the scenes to solve this problem?

              – John Hanley
              Mar 9 at 19:20












            • 1





              Dany - do you have any more information at Google on what putty -cleanup actually did behind the scenes to solve this problem?

              – John Hanley
              Mar 9 at 19:20







            1




            1





            Dany - do you have any more information at Google on what putty -cleanup actually did behind the scenes to solve this problem?

            – John Hanley
            Mar 9 at 19:20





            Dany - do you have any more information at Google on what putty -cleanup actually did behind the scenes to solve this problem?

            – John Hanley
            Mar 9 at 19:20

















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • 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%2fstackoverflow.com%2fquestions%2f55073660%2fgcloud-compute-ssh-stops%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

            How to get text form Clipboard with JavaScript in Firefox 56?How to validate an email address in JavaScript?How do JavaScript closures work?How do I remove a property from a JavaScript object?How do you get a timestamp in JavaScript?How do I copy to the clipboard in JavaScript?How do I include a JavaScript file in another JavaScript file?Get the current URL with JavaScript?How to replace all occurrences of a string in JavaScriptHow to check whether a string contains a substring in JavaScript?How do I remove a particular element from an array in JavaScript?

            Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

            List of MPs elected to the English parliament in 1640 (April) Contents List of constituencies and members See also Notes References Navigation menueNational Archives – The Glynde Place ArchivesCobbett's Parliamentary history of England, from the Norman Conquest in 1066 to the year 1803'Aldermen in Parliament', The Aldermen of the City of London: Temp. Henry III – 1912onepage&q&f&#61, false 229