To generate key for AWS server using ssh-keygen from .pem for PuTTY Announcing the arrival of...
What would be the ideal power source for a cybernetic eye?
Why did the rest of the Eastern Bloc not invade Yugoslavia?
What does an IRS interview request entail when called in to verify expenses for a sole proprietor small business?
2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?
What is Arya's weapon design?
The logistics of corpse disposal
Apollo command module space walk?
Ring Automorphisms that fix 1.
Can I cast Passwall to drop an enemy into a 20-foot pit?
Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?
What is known about the Ubaid lizard-people figurines?
Should I use a zero-interest credit card for a large one-time purchase?
Storing hydrofluoric acid before the invention of plastics
How do I stop a creek from eroding my steep embankment?
Why are both D and D# fitting into my E minor key?
Sci-Fi book where patients in a coma ward all live in a subconscious world linked together
Gordon Ramsay Pudding Recipe
What does F' and F" mean?
Why did the IBM 650 use bi-quinary?
Fundamental Solution of the Pell Equation
How discoverable are IPv6 addresses and AAAA names by potential attackers?
In predicate logic, does existential quantification (∃) include universal quantification (∀), i.e. can 'some' imply 'all'?
Why are Kinder Surprise Eggs illegal in the USA?
Compare a given version number in the form major.minor.build.patch and see if one is less than the other
To generate key for AWS server using ssh-keygen from .pem for PuTTY
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!created pub/priv keys using putty, created .ssh folder and authorized_keys, still not workingSSH from PuTTy to Debian “authorized_keys is not a regular file” ErrorCopying SSH Key-Pair Generated by Putty to MacOSSSH Public Key Authentication not working with PuTTYSSH - Putty Private Key and PassphraseHow to use PEM keys from EC2how to SSH to EC2 without explicitly using the pem key?Generate new keys for puttyFingerprint of PEM ssh keyConnecting AWS from Windows. Error: Using username “ec2-user”. Server refused our key
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
AWS gave me a private key in the format of .pem
. I am trying to use it with PuTTY but failed and I read I need to generate a key with PuTTYgen but PuTTYgen is only for Windows. So I am trying to use the Linux command ssh-keygen
. But what is exactly the command that can generate such a key that PuTTY can use?
BTW, I can connect with console using ssh without problem with the .pem
file.
ssh amazon-web-services ssh-keys putty
add a comment |
AWS gave me a private key in the format of .pem
. I am trying to use it with PuTTY but failed and I read I need to generate a key with PuTTYgen but PuTTYgen is only for Windows. So I am trying to use the Linux command ssh-keygen
. But what is exactly the command that can generate such a key that PuTTY can use?
BTW, I can connect with console using ssh without problem with the .pem
file.
ssh amazon-web-services ssh-keys putty
As Martin's answer mentions, putty and puttygen are available for Linux. In Ubuntu for example, puttygen is part of the putty-tools package.
– Andrew Schulman
May 18 '15 at 8:36
add a comment |
AWS gave me a private key in the format of .pem
. I am trying to use it with PuTTY but failed and I read I need to generate a key with PuTTYgen but PuTTYgen is only for Windows. So I am trying to use the Linux command ssh-keygen
. But what is exactly the command that can generate such a key that PuTTY can use?
BTW, I can connect with console using ssh without problem with the .pem
file.
ssh amazon-web-services ssh-keys putty
AWS gave me a private key in the format of .pem
. I am trying to use it with PuTTY but failed and I read I need to generate a key with PuTTYgen but PuTTYgen is only for Windows. So I am trying to use the Linux command ssh-keygen
. But what is exactly the command that can generate such a key that PuTTY can use?
BTW, I can connect with console using ssh without problem with the .pem
file.
ssh amazon-web-services ssh-keys putty
ssh amazon-web-services ssh-keys putty
edited May 18 '15 at 8:49
kasperd
26.8k1252104
26.8k1252104
asked May 18 '15 at 7:57
AlexAlex
82
82
As Martin's answer mentions, putty and puttygen are available for Linux. In Ubuntu for example, puttygen is part of the putty-tools package.
– Andrew Schulman
May 18 '15 at 8:36
add a comment |
As Martin's answer mentions, putty and puttygen are available for Linux. In Ubuntu for example, puttygen is part of the putty-tools package.
– Andrew Schulman
May 18 '15 at 8:36
As Martin's answer mentions, putty and puttygen are available for Linux. In Ubuntu for example, puttygen is part of the putty-tools package.
– Andrew Schulman
May 18 '15 at 8:36
As Martin's answer mentions, putty and puttygen are available for Linux. In Ubuntu for example, puttygen is part of the putty-tools package.
– Andrew Schulman
May 18 '15 at 8:36
add a comment |
2 Answers
2
active
oldest
votes
To convert the .pem
key to the .ppk
key using the *nix command-line version of the puttygen
use:
puttygen mykey.pem -o mykey.ppk
See the puttygen
man page.
There's PuTTY rpm and "putty-tools" package available for many *nix distributions.
The .ppk
format is proprietary to PuTTY, so tools outside of PuTTY toolset (like the ssh-keygen
) do not support it.
Note that you can convert the key on Windows using GUI version of PuTTYgen and still use the converted key on Linux.
Thanks. It seems opensuse does not have such tool package unfortunately. Maybe console ssh is good enough.
– Alex
May 18 '15 at 10:09
I meant to use ssh command in terminal to connect instead of putty. Sorry, in fact puttygen is available when I install putty in opensuse. I thought there's a package called puttygen. Thanks a lot.
– Alex
May 18 '15 at 10:49
Sorry. New to the site, I tried to upvote and failed so thought that I couldn't do nth...
– Alex
May 18 '15 at 13:04
add a comment |
You need to convert the provided PEM file to PPK file using Puttygen tool in Windows.
- Open puttygen and click on import key option in the menu.
- Once it is imported you will see the button which says "Save Private
Key". - Save it as a xyz.ppk file name and they load that ppk file in putty
and login.
Hope this helps.
add a comment |
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
});
}
});
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%2f692679%2fto-generate-key-for-aws-server-using-ssh-keygen-from-pem-for-putty%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
To convert the .pem
key to the .ppk
key using the *nix command-line version of the puttygen
use:
puttygen mykey.pem -o mykey.ppk
See the puttygen
man page.
There's PuTTY rpm and "putty-tools" package available for many *nix distributions.
The .ppk
format is proprietary to PuTTY, so tools outside of PuTTY toolset (like the ssh-keygen
) do not support it.
Note that you can convert the key on Windows using GUI version of PuTTYgen and still use the converted key on Linux.
Thanks. It seems opensuse does not have such tool package unfortunately. Maybe console ssh is good enough.
– Alex
May 18 '15 at 10:09
I meant to use ssh command in terminal to connect instead of putty. Sorry, in fact puttygen is available when I install putty in opensuse. I thought there's a package called puttygen. Thanks a lot.
– Alex
May 18 '15 at 10:49
Sorry. New to the site, I tried to upvote and failed so thought that I couldn't do nth...
– Alex
May 18 '15 at 13:04
add a comment |
To convert the .pem
key to the .ppk
key using the *nix command-line version of the puttygen
use:
puttygen mykey.pem -o mykey.ppk
See the puttygen
man page.
There's PuTTY rpm and "putty-tools" package available for many *nix distributions.
The .ppk
format is proprietary to PuTTY, so tools outside of PuTTY toolset (like the ssh-keygen
) do not support it.
Note that you can convert the key on Windows using GUI version of PuTTYgen and still use the converted key on Linux.
Thanks. It seems opensuse does not have such tool package unfortunately. Maybe console ssh is good enough.
– Alex
May 18 '15 at 10:09
I meant to use ssh command in terminal to connect instead of putty. Sorry, in fact puttygen is available when I install putty in opensuse. I thought there's a package called puttygen. Thanks a lot.
– Alex
May 18 '15 at 10:49
Sorry. New to the site, I tried to upvote and failed so thought that I couldn't do nth...
– Alex
May 18 '15 at 13:04
add a comment |
To convert the .pem
key to the .ppk
key using the *nix command-line version of the puttygen
use:
puttygen mykey.pem -o mykey.ppk
See the puttygen
man page.
There's PuTTY rpm and "putty-tools" package available for many *nix distributions.
The .ppk
format is proprietary to PuTTY, so tools outside of PuTTY toolset (like the ssh-keygen
) do not support it.
Note that you can convert the key on Windows using GUI version of PuTTYgen and still use the converted key on Linux.
To convert the .pem
key to the .ppk
key using the *nix command-line version of the puttygen
use:
puttygen mykey.pem -o mykey.ppk
See the puttygen
man page.
There's PuTTY rpm and "putty-tools" package available for many *nix distributions.
The .ppk
format is proprietary to PuTTY, so tools outside of PuTTY toolset (like the ssh-keygen
) do not support it.
Note that you can convert the key on Windows using GUI version of PuTTYgen and still use the converted key on Linux.
edited 11 mins ago
answered May 18 '15 at 8:26
Martin PrikrylMartin Prikryl
5,3012558
5,3012558
Thanks. It seems opensuse does not have such tool package unfortunately. Maybe console ssh is good enough.
– Alex
May 18 '15 at 10:09
I meant to use ssh command in terminal to connect instead of putty. Sorry, in fact puttygen is available when I install putty in opensuse. I thought there's a package called puttygen. Thanks a lot.
– Alex
May 18 '15 at 10:49
Sorry. New to the site, I tried to upvote and failed so thought that I couldn't do nth...
– Alex
May 18 '15 at 13:04
add a comment |
Thanks. It seems opensuse does not have such tool package unfortunately. Maybe console ssh is good enough.
– Alex
May 18 '15 at 10:09
I meant to use ssh command in terminal to connect instead of putty. Sorry, in fact puttygen is available when I install putty in opensuse. I thought there's a package called puttygen. Thanks a lot.
– Alex
May 18 '15 at 10:49
Sorry. New to the site, I tried to upvote and failed so thought that I couldn't do nth...
– Alex
May 18 '15 at 13:04
Thanks. It seems opensuse does not have such tool package unfortunately. Maybe console ssh is good enough.
– Alex
May 18 '15 at 10:09
Thanks. It seems opensuse does not have such tool package unfortunately. Maybe console ssh is good enough.
– Alex
May 18 '15 at 10:09
I meant to use ssh command in terminal to connect instead of putty. Sorry, in fact puttygen is available when I install putty in opensuse. I thought there's a package called puttygen. Thanks a lot.
– Alex
May 18 '15 at 10:49
I meant to use ssh command in terminal to connect instead of putty. Sorry, in fact puttygen is available when I install putty in opensuse. I thought there's a package called puttygen. Thanks a lot.
– Alex
May 18 '15 at 10:49
Sorry. New to the site, I tried to upvote and failed so thought that I couldn't do nth...
– Alex
May 18 '15 at 13:04
Sorry. New to the site, I tried to upvote and failed so thought that I couldn't do nth...
– Alex
May 18 '15 at 13:04
add a comment |
You need to convert the provided PEM file to PPK file using Puttygen tool in Windows.
- Open puttygen and click on import key option in the menu.
- Once it is imported you will see the button which says "Save Private
Key". - Save it as a xyz.ppk file name and they load that ppk file in putty
and login.
Hope this helps.
add a comment |
You need to convert the provided PEM file to PPK file using Puttygen tool in Windows.
- Open puttygen and click on import key option in the menu.
- Once it is imported you will see the button which says "Save Private
Key". - Save it as a xyz.ppk file name and they load that ppk file in putty
and login.
Hope this helps.
add a comment |
You need to convert the provided PEM file to PPK file using Puttygen tool in Windows.
- Open puttygen and click on import key option in the menu.
- Once it is imported you will see the button which says "Save Private
Key". - Save it as a xyz.ppk file name and they load that ppk file in putty
and login.
Hope this helps.
You need to convert the provided PEM file to PPK file using Puttygen tool in Windows.
- Open puttygen and click on import key option in the menu.
- Once it is imported you will see the button which says "Save Private
Key". - Save it as a xyz.ppk file name and they load that ppk file in putty
and login.
Hope this helps.
answered May 18 '15 at 8:46
serverliving.comserverliving.com
662313
662313
add a comment |
add a comment |
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%2f692679%2fto-generate-key-for-aws-server-using-ssh-keygen-from-pem-for-putty%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
As Martin's answer mentions, putty and puttygen are available for Linux. In Ubuntu for example, puttygen is part of the putty-tools package.
– Andrew Schulman
May 18 '15 at 8:36