Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
2 answers
1k views

.ppk derived from .pem key works but .pem don't in MobaXterm or file transfer programs

I have an ec2 instance and it .pem key file, which I want to use for transfer files from my local machine to the server I tried to connect the instance by using: mobaXterm with .pem file (before ...
gonzalez.ivan90's user avatar
0 votes
1 answer
622 views

How can I avoid manually specifying my private key file when using PuTTY's pscp command?

I have installed PuTTY and configured public/private key pairs that work nicely from inside PuTTY. When I use pscp, I find that I have to use the -i *keyfile* option to specify the private key (I have ...
rob boudrie's user avatar
2 votes
1 answer
810 views

Can't use/debug SSH auth with Git for Windows

I am using Git for Windows on Windows 10, I use GitExtensions as my GUI. To authenticate to various Git repositories, I use putty/pageant and I load up my keys into it. GitExtensions somehow works ...
masiton's user avatar
  • 167
8 votes
1 answer
9k views

How to connect to a remote server using PuTTY generated key

I'm trying to connect to a remote server using Remote Explorer extension in VSCode but when I use putty generate private key private.ppk I get an error Could not establish a connection to When I ...
Shadow Walker's user avatar
3 votes
1 answer
436 views

Multiple SSH keys in Pageant cause failures when pulling from Bitbucket Git Repos

I'm having a problem very similar to the one described here. However, the difference is that I'm trying to use Pageant as my agent instead of OpenSSH. I've found that when I have the SSH keys for ...
Pflugs's user avatar
  • 814
-2 votes
2 answers
1k views

How to convert PEM file to PPK using PuTTYgen in Ubuntu?

I have created an EC2 instance on AWS. I want to connect to the instance using PuTTY, but it requires PPK file. I have PEM file which I want to covert into PPK using PuTTYgen. How do I use PuTTYgen on ...
Vaun Kavil's user avatar
2 votes
1 answer
2k views

Google Cloud Instance Not able to Connect through Putty - Getting "Not Supported Authentication Methods Available (server sent : public key)"

I am new to Google Cloud, but I have followed all the steps below by looking at some documentations and forums. Not sure if I am missing anything with the configuration or what. Any help would be ...
Krunal Soni's user avatar
1 vote
0 answers
572 views

Generate SSH Putty private pair using C# RSACryptoServiceProvider class

I need to create Putty supported SSH RSA keys pragmatically using C# language. I have explored we can create public/private keys using C# inbuilt class RSACryptoServiceProvider. The putty keys format ...
Venkateswarlu's user avatar
38 votes
1 answer
52k views

"Unable to use key file "...\id_rsa" (OpenSSH SSH-2 private key)" when authenticating with PuTTY [closed]

I have setup custom SSH keys on target Linux host2. I'm able to passwordless ssh from Linux host1 to host2 using the below command. ssh -i /app/misc/myssh_keys/my_id_rsa myuser@host2 I then copy ...
Ashar's user avatar
  • 3,161
38 votes
4 answers
133k views

How can I add an already generated SSH key to git bash?

I have an SSH key saved in D:/keys folder. I want to add it to my git bash. All the tutorials I found is how to generate SSH key using gitbash and load it to github/gitlab. I generated my SSH key ...
Samiul Alam's user avatar
  • 2,414
9 votes
2 answers
7k views

connect to a play-with-docker instance via putty

i'm trying to connect via putty to a play with docker instance https://labs.play-with-docker.com/ i've tried: ip172-18-0-21-bgnsch0v0j3g00931g9g@direct.labs.play-with-docker.com port 22 ERROR: ...
pinale's user avatar
  • 2,214
-2 votes
1 answer
79 views

SSH Key connection on Debian VPS with Windows cmd

I have a Debian VPS on which I have installed SSH keys. I would like to connect to it with Windows cmd and not Putty. To connect I use : ssh $USER@$SERVEUR -p $PORT -i C:\Users\Path\to\my\key.ppk ...
Antoine's user avatar
  • 55
1 vote
1 answer
2k views

Git Extensions Authentication Error

I just downloaded git extensions. It is configured to use putty that comes with the installation. I used putty to create a private and public key and I have the agent started and I have added the ...
user2676271's user avatar
-1 votes
1 answer
1k views

Putty won't cache the keys to access a server when run script via ControlM

Issue: Whenever a windows batch file (containing command to perform PSFTP) is triggered via Control-M (services started as LocalServiceAccount), the keys are not getting cached and prompts to store ...
User M's user avatar
  • 329
3 votes
0 answers
5k views

How to create a .ppk private key file usnig ssh-keygen [duplicate]

When I try to create a ssh key pair using ssh-keygen -t rsa -b 4096 -C "[email protected]" it creates a public key id_rsa.pub and a private key id_rsa. But this file does not have a .ppk ...
codec's user avatar
  • 8,766
1 vote
1 answer
8k views

How can I access database mongodb on the server staging by console on the putty?

I want to access database mongodb on the server staging by putty. But i'm still confused to setting it Look at this : What needs to be set there? I want a full explanation Or maybe there is ...
moses toh's user avatar
  • 13.1k
4 votes
3 answers
10k views

Use encrypted password for Plink/PuTTY

I would like to encrypt a password in PowerShell and use it with plink and putty. Yes, I know that it expects only cleartext password (Password encryption using SecureString for plink.exe command). No,...
igor's user avatar
  • 260
0 votes
1 answer
305 views

connect via putty to google instance

it is long story but to cut short I need to reset plesk admin password, which you cant reset from forget password to do that, I loged to SSH then I became root - sudo su command then I applied sudo ...
kerem's user avatar
  • 81
0 votes
1 answer
2k views

Include key fingerprint in PuTTYgen app

We have a C# application through which we send files (SFTP) to our clients. One of our clients has provided us a private key as part of SFTP credential which is in md5 fingerprint format (hexadecimal)...
M. Fawad Surosh's user avatar
1 vote
1 answer
1k views

How can I get connected via SSH in Putty?

Vagrant ssh from the machine itself works. All I have to type into the machine is vagrant as a username and I got in the vagrant built machine. I have to put inside here vagrant ssh and it works ...
FortuneSoldier's user avatar
0 votes
1 answer
77 views

Link to ssh key when using git on windows

I want to use an ssh key when using git from a Windows machine to a Linux server. I have ssh keys already set-up and can connect via ssh through PuTTy. How do I tell git to use this key to connect via ...
holmeswatson's user avatar
4 votes
2 answers
5k views

How can I export a (PKCS#8?) private key in Putty or Puttygen readable format?

I'm writing a tool to create new Amazon Web Services servers, using the AWS Java API. When you create a server, you have to specify which SSH keypair to use out of the public keys AWS has stored with ...
Len has moved to Codidact's user avatar
0 votes
1 answer
1k views

Understanding SSH private and public keys with PuTTYgen

I used PuTTy keygen to create a public key. I copied the public key into david.pub and sent to developer who put the key on server(vps), so i can clone a repository. When i created the public key i ...
user892134's user avatar
  • 3,226
0 votes
1 answer
840 views

Registered SSH Certificates in Windows

I tried to connect to Ubuntu Server from Windows 8 using PuTTY. At first, it asked me some registration of key. I accepted the pop up request. After that whenever I access Ubuntu Server there will be ...
sunleo's user avatar
  • 10.9k
4 votes
0 answers
4k views

What is the best place to store my private keys?

I recently started to change my SSH remote connections from password-authentication to SSH-key authentication. What's the best place to store my private keys? In the Cloud? External HD? Thank you.
mjquito's user avatar
  • 582
2 votes
1 answer
957 views

Unable to connect to Linode with public/private key

I am unable to connect with Putty and WinSCP with my public/private key generated from Puttygen. I have pageant running in the background. It is telling me that the key is refused by the server :( See ...
Sticky's user avatar
  • 3,909
0 votes
1 answer
3k views

Remove a key from Pageant using the Pageant command line

I used Pageant to add keys to it from a C# code behind. I found that I can use the command line to add keys to Pageant described here: http://the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter9....
Gábor Domonkos's user avatar
0 votes
1 answer
349 views

How to convert mac pem ssh keys to windows putty style on shell?

How can mac ssh keys (id_dsa pem file) be converted to windows putty style (ppk) on shell?
Manuel's user avatar
  • 9,502
1 vote
1 answer
3k views

Copying Public Key from AWS EC2 Ubuntu Instance - set up sftp only user

I'm trying to set up an sftp only user for my Amazon EC2 instance. Good tutorial on this here. I am having a bit of trouble at this step: Using the AWS Management Console, generate a new key pair ...
Eric H.'s user avatar
  • 7,004
1 vote
1 answer
3k views

How can I get PuTTY to stop asking for a PW after SSH keys created?

Using Git Bash, I established SSH Keys and disabled password requirements for root: sudo nano /etc/ssh/sshd_config PermitRootLogin without-password Then restarted server. Git Bash logs in fine: ...
Eric's user avatar
  • 71
41 votes
6 answers
68k views

unable to get SSH keys working between sourcetree and github

I was able to create a key and connect to github following these instructions via the command prompt successfully: https://help.github.com/articles/generating-ssh-keys However, when I try to connect ...
turbo2oh's user avatar
  • 2,869
1 vote
1 answer
3k views

how can i connect GitHub through putty

I had follow the steps given in so many docs like this one, after creating a key i pasted it in my GITHUB account>account settings>SSH key. When I add it there it shows a message:" key is invalid".
user2678110's user avatar
2 votes
3 answers
10k views

Putty fatal error Disconnected: no supported authentication methods available.

I am connecting to a Ubuntu server via Putty and keep getting "Disconnected: no supported authentication methods available. Server refused our key." I am able to connect as ubuntu (superuser) but not ...
user1789529's user avatar
32 votes
4 answers
36k views

Why is the "Load putty key" field in TortoiseGit disabled?

I would like to connect to my repository using an SSH key instead of a username & password. However when I try to do this in TortoiseGit I can not enter the key because the "Load Putty Key" is ...
Mihir Bhatt's user avatar
  • 3,135
1 vote
1 answer
7k views

Puttygen RSA keys work with command line git on windows

The problem: When I try to use a ssh2-RSA key generated by puttygen with the command line git tool the key is rejected. Details: I have TortoiseGit installed on my computer (as well as msysgit). ...
Eric Fode's user avatar
  • 3,697
3 votes
1 answer
13k views

How do I convert public RSA key (in text form) to private PPK key file?

I have been 'emailed' a "PUBLIC" AES 256 RSA Key (for example): "ssh-rsa AAASDHFhdfsdSDHF2SHdf932hSDF29SDFHSDF2SDFHSDF23SHDFewhw92sdfhSDFS29843SdhsdfZSDH= some@bunk" Now, I am being asked to ...
Peter's user avatar
  • 5,331
6 votes
2 answers
4k views

Can linux ssh private key files be used unchanged in putty on Windows?

I have been connecting to my site from a Mac using ssh. My Mac is dead. Now I have my key files but need to use Putty on Windows... 1 - Can I take my id_rsa file and rename it as private.ppk and use ...
Dizzley's user avatar
  • 487
518 votes
10 answers
690k views

How to convert SSH keypairs generated using PuTTYgen (Windows) into key-pairs used by ssh-agent and Keychain (Linux)

I've generated key pairs using PuTTYgen and been logging in using Pageant, so that I have to enter my pass-phrase only once when my system boots. How do I achieve this in Linux? I've heard of ...
TCSGrad's user avatar
  • 12.1k