Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [private-key]

The tag has no usage guidance.

0
votes
0answers
7 views

is it safe to keep ssh keys encrypted with gpg in git?

I found myself switching a lot of computers so I thought of making a small sh file to move my ssh keys around for faster configurations: tar cvzf archive.tar.gz -C ~/.ssh . gpg -c archive.tar.gz rm ...
0
votes
0answers
14 views

SolarWinds detect change in private key file

I use SolarWinds as an SFTP server. I would like to know why this message is present:(detect change in private key file) and what it is due ... I attach the screen Logs SolarWinds
0
votes
2answers
28 views

Issues understanding CA certificates

I have misconceptions regarding CA (Certificate Authority) certificates. No matter how many things I read, it is still not fully clear. Let's take an example, Bob accesses a website. In order for ...
0
votes
0answers
15 views

Ubuntu ssh-copy-id using an existing private key?

I know the easiest way is to ssh using an existing account into target and add the public key of another user account into .ssh/authorized_keys. Is it possible to do this using ssh-copy-id? ...
0
votes
1answer
113 views

PuTTY ssh tunnel port forwarding through management server with private key

I'll try to be as detailed as possible. I try to connect to a server running ActiveMQ and want to forward the port 8161 to port 8162 on my local machine in order to prevent problems when I run a ...
0
votes
0answers
15 views

Backinpg up GnuPG data

Let's say I want to backup the minimum amount of information with respect to my current setup. I have one RSA public-private keypair generated on my computer and I want to backup this data so that I ...
2
votes
1answer
75 views

SFTP to remote server

So I'm trying to SFTP to a server that has been set up by an external company for sending shipping data. I have a username, a host and a private key file. I can use WinSCP on my Windows 10 Machine ...
0
votes
0answers
273 views

Error: Disconnected: No supported authentication methods available (server sent: publickey) on mac using filezilla

first I'll point out that I do not have much experience using SFTP to connect to a server and using public and private keys. So please, answer assuming that I know nothing about what you're talking ...
1
vote
0answers
235 views

Windows 10 ssh, Load Key : Operation not permitted

I have a private ssh key generated by PuTTYgen, placed in C:/Users/my_user/.ssh/id_rsa. When I ssh to the remote host, Windows complain: Why is the Operation not permitted? per comment request, the ...
0
votes
1answer
198 views

Able to decrypt previously encrypted messages without passphrase, but can't export GPG private key

I feel really stupid asking this, but why not. I have a bunch of files I encrypted a while ago with a gpg key pair that is password protected. Since then, I've forgotten the password. But the key must ...
1
vote
1answer
288 views

fail2ban SSH with no password authentication

When I have disabled SSH password authentication, so we can only login using private key authentication, is there still a point in having fail2ban running for SSH brute force protection? I'm thinking ...
0
votes
2answers
1k views

Could not load key file. File 'id_rsa.pub' could not be loaded or does not contain a private key. - File Zilla

While trying to connect to AWS instance using SFTP, it gives me an error while setting the ~/.ssh/id_rsa.pub file for connection. Error - Could not load key file. File 'id_rsa.pub' could not be ...
2
votes
1answer
499 views

ssh using private pem file asking for password in server (not passphrase)

I am trying to connect to a server using private pem file that I created. It was created using a passphrase that I know. It is asking for my password for the remote server, which I do not have. I ...
-1
votes
1answer
36 views

How do I clone a private key on Windows?

I have a remote server on a computer with Windows 8, using the program WinSCP to access. I want to access the server from another computer. The situation is I have not the password, so I want to know, ...
1
vote
1answer
402 views

Why is ssh ignoring my ~/.ssh/config? Cannot commit to github

I have configured OpenSSH to use a specific key when I login to github.... [mpenning@mudslide .ssh]$ pwd /home/mpenning/.ssh [mpenning@mudslide .ssh]$ ls -la | grep config -rw-r--r-- 1 mpenning ...
1
vote
1answer
3k views

How to define ssh private key location

I know that you can globally set per users authorized key files with this line inside /etc/ssh/sshd_config: AuthorizedKeysFile /etc/ssh/authorized_keys.d/%u Is it possible to do something similar ...
0
votes
1answer
1k views

User Certificate's show “Cannot find the certificate and private key for decryption.” in Windows

Have a number of computers where user certificates suddenly stop working. Running certutil -silent -user -store my shows that all user certificates for the affected user have stopped working. my ...
0
votes
1answer
211 views

Unable to start Apache on CentOS SSL Issue

I am unable to start Apache on a CentOS Server with SELinux. The error log gives. [root@server httpd]# cat test-error_log [Wed Nov 15 05:42:34 2017] [error] Init: Private key not found [Wed Nov 15 05:...
0
votes
1answer
895 views

sFtp with key authentication prompts password

A newbie about sFtp and and authentication via key files. Here is my problem; 1- I have an .p12 certificate(provided by the host owner); which I used openssl to extract my private key(.pem) file out ...
1
vote
1answer
125 views

How to setup private key ssh connection? [closed]

Lets say that to login to a remote address instead of a ssh login and password I have received rsa private and public keys. Is it safe to use it and how should I add them to the .ssh folder? manually ...
-1
votes
1answer
667 views

Server connection authentication error

I use the digitalocean server and the ssh key authentication. Of late my filezilla keeps giving me authentication error. The error message is Error: Disconnected: No supported authentication methods ...
0
votes
2answers
2k views

WinSCP: Server refused key - But same key accepted from Putty?

I try to connect to a server using WinSCP and I authenticate with a private key. This works fine if I use Putty, but the same key is refused when I try it with WinSCP. The only thing I did, was to ...
0
votes
0answers
946 views

pscp between local (Windows) and remote (Linux) with private key

I currently copy files from a Windows server to a Linux server via PSCP using username/password authentication however I need it to use public/private key authentication instead. I have exhausted the ...
0
votes
1answer
762 views

Vagrant ssh : Puttygen can't generate ssh-2rsa key in Windows

I am trying to build a linux server with vagrant in Windows 8.1 but it fails to ssh so I tried to set up ssh connection with putty by following the instruction here: http://tech.osteel.me/posts/2015/...
-1
votes
1answer
253 views

StartSSL Class 1 Client cert missing private key in Keychain Access?

I have been using Class 1 Client Certificates from StartSSL for a while now (in OS X to sign my emails via S/MIME). I went to renew yesterday and I received my new cert. However, I am unsure how to ...
1
vote
0answers
179 views

sftp connection too many publickey verification attempts were made error

I'm trying to do a sftp connection. The destination uses public key + password authentication, and port 2222. I was able to connect from our existing linux host to the destination. Our existing linux ...
1
vote
0answers
106 views

How to analyze and fix a broken private PGP key?

I have 2 sets of keys on my Windows 7 system with GPG4Win tools installed (including Kleopatra key management) and 2 Enigmail-based email clients (Thunderbird + Seamonkey) and Claws, which uses an own ...
2
votes
2answers
8k views

How to ssh from one ec2 instance to another?

I have created two EC2 instances on AWS. I created a key pair for each of them. I downloaded the .pem private keys and converted them into .ppk format. I can connect to each of my ec2 instances using ...
0
votes
0answers
30 views

SSH login behaviour using passphrase or password

What is the correct behavior of SSH when it comes to authentication on SSH login? Is it passphrase prompt and password prompt? Or is it passphrase only? Because in my setup i have tried all but i do ...
4
votes
1answer
1k views

How to add multiple PGP keys to my keybase ID?

I am using keybase and I try to add to add a secondary PGP key to my ID. However, when I try to select a key from my local keyring, I get the following message. ~ $ keybase pgp select ▶ ERROR You ...
10
votes
4answers
9k views

How do you safely backup a GPG private key?

I found a very interesting CLI password manager called pass. To use it, you generate a GPG2 key pair, and use the tool to help you store passwords in gpg2 encrypted files. To encrypt the files (add a ...
0
votes
0answers
414 views

Permission denied when I try to ssh into server

I'm having an issue when I try to ssh into my server with a private rsa key. I'm getting a permission denied error followed by a "Too many authentication failures for [user]". Note: The rsa key ...
0
votes
1answer
2k views

WinSCP Commandline Private key

What I am trying to so is: Open a WInSCP-Session using a private key instead of a password. The simple Password-Approach works: WinSCP.exe root:password@example.com But the next step, using the ...
1
vote
3answers
167 views

Who generates the keys?

I think I know the answer, but I'll ask anyway... I'm being given access to a remote server with SSH access. Who should generate the private/public key pair? My understanding is that I should ...
2
votes
1answer
1k views

How does Pageant work when it has multiple keys loaded?

I'm trying to be organized with my work with servers and so with ssh keys but it seems to be impossible. So I'm thinking to move from Pageant to Serveauditor which is used by the CERN too. But before ...
1
vote
0answers
52 views

After working good half a year ago, ssh into ubuntu server fails “Server refused our key”

During last summer I installed a ubuntu server 14.04 and used PuTTY with ssh to access it. I saved the public and private key on a backup. Since then i installed a clean windows 10 on the pc i used to ...
4
votes
2answers
6k views

How to export certificate in pfx format?

I am running Windows 10. I have install a certificate to my computer. I see that in my MMC. But when I try to export a pfx file for that certificate. That option is disable. I was able to ...
2
votes
1answer
646 views

Nvidia Geforce Experience is asking for access to a protected item: password for CryptoAPI Private Key, what does that mean?

Recently when I start Nvidia Geforce Experience, my OS (windows 10 64bit) pops up a dialog to warn me that this program wants to access my private keys. I've had just a little previous experience ...
1
vote
1answer
368 views

Private key says passphrase is wrong when it is 100% correct

I am using a private key with the passPharse of j I have set this to test as its driving me crazy. I am attempting to bitbucket, I have added the public key to their site. I have added my ppk to ...
1
vote
1answer
54 views

Is there a way to make PuTTY try ~/.ssh/id_rsa by default without having to save every connection?

I use the same public key for many servers and I hate having to set up saved connection configurations for each and every one of them. OpenSSH clients automatically search for a specific key path in ...
0
votes
1answer
779 views

Public key authentication on Windows OpenSSH server

I have two Windows machines running on Ubuntu virtual box. Both machines have OpenSSH installed. I can connect from one to another using ssh and passwords, but I can not figure out how to use keys. I ...
1
vote
3answers
3k views

Problems setting private key for SSH logins on Mac OS X 10.10.5 (Yosemite) without passphrase

I’m trying to use SSH client for logging on remote server. On this server is my public key and I have private key that was created without passphrase. On Windows I’m able to login via PuTTY without ...
0
votes
1answer
388 views

Root user folder permissions changed in ubuntu 14.04

By executing chown command to give access of /root folder contents for 'test1' user. After that I am unable to login with my .ppk key - Server refused our key. How can I get back my root user access?
-1
votes
1answer
30 views

Is it a good idea to upload my private key to VPS / servers? [closed]

Saying if I am deploying my application to the server using git, and the repository needs authentication to be pulled, it will be very convenient if I just upload my private key there. However is it ...
3
votes
1answer
15k views

PuTTY Key Generator says “Couldn't load private key (not a private key)” when loading a PEM file

I have a certificate ("gridcert.p12") in PKCS12 format that I'm trying to convert to a keypair that I can use in PuTTY. I'm using OpenSSL to convert the PKCS12 file to a pair of PEM files, one for a ...
5
votes
1answer
2k views

which application is trying to access a private ssh key?

since a few days my Gnome based system (Fedora 21) pops up a request for the pass phrase for a certain private ssh key: An application wants access to the private key <name-of-the-key>, but it ...
4
votes
1answer
6k views

How to convert a ppk to an openSSH private key encrypted with a passphrase

When I exported my private key in PuttyGen, I assumed that the passphrase I set was also used on the openSSH version. I'm finding that the passphrase I put in isn't working. What's the right way to ...
1
vote
0answers
4k views

How to use .pfx in certificate store in CURL for Windows 7

I want to use cURL to access a remote server, and I need to identify myself using a private key or the remote server gives a 401 "Unauthorized". I'm on Windows 7 (work machine, not my choice) and my ...
0
votes
2answers
693 views

Cannot login to one specific Linux server with PuTTY private key

I use a single private key to login to several Linux servers using PuTTY. When I need to login to a new machine, I first log in by password authentication and then add my public key to ~/.ssh/...
0
votes
1answer
3k views

How to create private ssh RSA key from text file on mac?

I requested a client's sys admin to give me access to their AWS account.. so he sent me an email that looks like this -----BEGIN RSA PRIVATE KEY----- XXXXXXXXXXX -----END RSA PRIVATE KEY----- And he ...