Create a private, password-protected ssh key file for google cloud consoleCreate a public SSH key from the...
From an axiomatic set theoric approach why can we take uncountable unions?
What is the generally accepted pronunciation of “topoi”?
What will happen if my luggage gets delayed?
Specifying a starting column with colortbl package and xcolor
Why does cron require MTA for logging?
Is it possible that a question has only two answers?
Having the player face themselves after the mid-game
What would be the most expensive material to an intergalactic society?
Doesn't allowing a user mode program to access kernel space memory and execute the IN and OUT instructions defeat the purpose of having CPU modes?
How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?
MySQL importing CSV files really slow
Power Strip for Europe
In the late 1940’s to early 1950’s what technology was available that could melt a LOT of ice?
Professor forcing me to attend a conference, I can't afford even with 50% funding
When Schnorr signatures are part of Bitcoin will it be possible validate each block with only one signature validation?
What is this diamond of every day?
Shifting between bemols (flats) and diesis (sharps)in the key signature
Proving a statement about real numbers
School performs periodic password audits. Is my password compromised?
Why is there an extra space when I type "ls" in the Desktop directory?
Can I use a violin G string for D?
What do you call someone who likes to pick fights?
Trig Subsitution When There's No Square Root
Why is a very small peak with larger m/z not considered to be the molecular ion?
Create a private, password-protected ssh key file for google cloud console
Create a public SSH key from the private key?How do I tell Git for Windows where to find my private RSA key?Simple SSH public/private key questionhow do you create an ssh key for another user?SSH - Putty Private Key and PassphraseSSH key rejected by google compute engine instanceUnable to SSH Google Cloud Engine instance through gcloud & Putty from Windows 10What significance does the user/host at the end of an SSH public key file hold?Download public & private keys from Google Cloud InstanceGoogle Cloud Services - unable to SSH into instance at all
Recreation:
- Create a new Google Cloud Compute instance
- Use Putty key-gen to create a public and password-protected private key.
- cd to /home/user/.ssh and copy the public key into authorized_keys
- Create a new file "id_rsa" and paste the contents of the .ppk file generated by Putty
- Recursively chown the.ssh file located in my home directory to my username and set the chmod to 600 on both files in the .ssh/ file
- Edit /etc/ssh/sshd_config and edit PasswordAuthentication to no
- Restart the ssh and sshd services
When I connect using the .ppk file it returns "Connection timed out". I can connect via the Google Cloud SDK, the web terminal, and Putty. I was able to save the gcloud sdk session in putty by right clicking on the terminal title and save the session from the "edit settings selection".
Question:
How do I get my Gcloud VM instance to use and accept my generated private key file? I would prefer the extra security of a passworded encrypted key. Do I have to put my username in there somewhere? What am I missing here? This works on all my other instances.
ssh google-compute-engine ssh-keys private-key
New contributor
add a comment |
Recreation:
- Create a new Google Cloud Compute instance
- Use Putty key-gen to create a public and password-protected private key.
- cd to /home/user/.ssh and copy the public key into authorized_keys
- Create a new file "id_rsa" and paste the contents of the .ppk file generated by Putty
- Recursively chown the.ssh file located in my home directory to my username and set the chmod to 600 on both files in the .ssh/ file
- Edit /etc/ssh/sshd_config and edit PasswordAuthentication to no
- Restart the ssh and sshd services
When I connect using the .ppk file it returns "Connection timed out". I can connect via the Google Cloud SDK, the web terminal, and Putty. I was able to save the gcloud sdk session in putty by right clicking on the terminal title and save the session from the "edit settings selection".
Question:
How do I get my Gcloud VM instance to use and accept my generated private key file? I would prefer the extra security of a passworded encrypted key. Do I have to put my username in there somewhere? What am I missing here? This works on all my other instances.
ssh google-compute-engine ssh-keys private-key
New contributor
add a comment |
Recreation:
- Create a new Google Cloud Compute instance
- Use Putty key-gen to create a public and password-protected private key.
- cd to /home/user/.ssh and copy the public key into authorized_keys
- Create a new file "id_rsa" and paste the contents of the .ppk file generated by Putty
- Recursively chown the.ssh file located in my home directory to my username and set the chmod to 600 on both files in the .ssh/ file
- Edit /etc/ssh/sshd_config and edit PasswordAuthentication to no
- Restart the ssh and sshd services
When I connect using the .ppk file it returns "Connection timed out". I can connect via the Google Cloud SDK, the web terminal, and Putty. I was able to save the gcloud sdk session in putty by right clicking on the terminal title and save the session from the "edit settings selection".
Question:
How do I get my Gcloud VM instance to use and accept my generated private key file? I would prefer the extra security of a passworded encrypted key. Do I have to put my username in there somewhere? What am I missing here? This works on all my other instances.
ssh google-compute-engine ssh-keys private-key
New contributor
Recreation:
- Create a new Google Cloud Compute instance
- Use Putty key-gen to create a public and password-protected private key.
- cd to /home/user/.ssh and copy the public key into authorized_keys
- Create a new file "id_rsa" and paste the contents of the .ppk file generated by Putty
- Recursively chown the.ssh file located in my home directory to my username and set the chmod to 600 on both files in the .ssh/ file
- Edit /etc/ssh/sshd_config and edit PasswordAuthentication to no
- Restart the ssh and sshd services
When I connect using the .ppk file it returns "Connection timed out". I can connect via the Google Cloud SDK, the web terminal, and Putty. I was able to save the gcloud sdk session in putty by right clicking on the terminal title and save the session from the "edit settings selection".
Question:
How do I get my Gcloud VM instance to use and accept my generated private key file? I would prefer the extra security of a passworded encrypted key. Do I have to put my username in there somewhere? What am I missing here? This works on all my other instances.
ssh google-compute-engine ssh-keys private-key
ssh google-compute-engine ssh-keys private-key
New contributor
New contributor
edited 7 mins ago
Arrrstin
New contributor
asked 44 mins ago
ArrrstinArrrstin
11
11
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
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
});
}
});
Arrrstin is a new contributor. Be nice, and check out our Code of Conduct.
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%2fserverfault.com%2fquestions%2f957665%2fcreate-a-private-password-protected-ssh-key-file-for-google-cloud-console%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Arrrstin is a new contributor. Be nice, and check out our Code of Conduct.
Arrrstin is a new contributor. Be nice, and check out our Code of Conduct.
Arrrstin is a new contributor. Be nice, and check out our Code of Conduct.
Arrrstin is a new contributor. Be nice, and check out our Code of Conduct.
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.
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%2fserverfault.com%2fquestions%2f957665%2fcreate-a-private-password-protected-ssh-key-file-for-google-cloud-console%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