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;
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
|
show 3 more comments
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
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
|
show 3 more comments
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
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
google-cloud-platform google-compute-engine putty gcloud
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
|
show 3 more comments
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
|
show 3 more comments
2 Answers
2
active
oldest
votes
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.
add a comment |
Running "putty -cleanup" as per @redpawn fixed the issue.
1
Dany - do you have any more information at Google on whatputty -cleanupactually did behind the scenes to solve this problem?
– John Hanley
Mar 9 at 19:20
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Mar 10 at 8:15
redpawnredpawn
165
165
add a comment |
add a comment |
Running "putty -cleanup" as per @redpawn fixed the issue.
1
Dany - do you have any more information at Google on whatputty -cleanupactually did behind the scenes to solve this problem?
– John Hanley
Mar 9 at 19:20
add a comment |
Running "putty -cleanup" as per @redpawn fixed the issue.
1
Dany - do you have any more information at Google on whatputty -cleanupactually did behind the scenes to solve this problem?
– John Hanley
Mar 9 at 19:20
add a comment |
Running "putty -cleanup" as per @redpawn fixed the issue.
Running "putty -cleanup" as per @redpawn fixed the issue.
answered Mar 9 at 17:06
dany Ldany L
40327
40327
1
Dany - do you have any more information at Google on whatputty -cleanupactually did behind the scenes to solve this problem?
– John Hanley
Mar 9 at 19:20
add a comment |
1
Dany - do you have any more information at Google on whatputty -cleanupactually 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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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