Questions tagged [private-key]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
25 views

SSL for subdomain

Can anyone please tell me, we have an SSL certificate for *.example.com but now we need separate SSL certificate for abc.example.com only for one subdomain. Is it possible? *.example.com which is ...
4
votes
2answers
125 views

How do I get WinSCP to connect to an SSH server with a private key that I specify?

How do I get WinSCP to connect to an SSH server with a private key that I specify. I don't see the option. For example, I have a private key I created with SSH in cygwin. (id_rsa) $ ls ~/.ssh -l -...
0
votes
1answer
25 views

Can `ssh-agent` somehow interface with Windows' built-in “keychain”-like functionality?

tldr; Does OpenSSH integrate with Windows, so that on unlocking Windows ssh-agent will "unlock" its password-secured private keys? On macOS and in Linux you usually have some kind of ...
0
votes
1answer
57 views

Why am I getting this error when attempting to export a private key with Mimikatz?

I’m using Windows 10 (19041.867) and trying to use Mimikatz (2.2.0 20200918) to export a private key marked as non-exportable by the certificate export wizard. After using the following commands: ...
0
votes
1answer
17 views

Bastion with private keys, jailed users and proxycommand

I want to setup a bastion for SSH and tunneling HTTP : let the user use a private key stored on bastion without having read access to it permit the use of proxyjump (or proxycommand) on the client ...
1
vote
1answer
36 views

Key refused WinSCP/PuTTY issue when connecting to Windows OpenSSH server

I'm trying to configure a private key for use use with WinSCP and PuTTY/Plink but I'm stuck (trying to connect from Windows 10 to Windows 2012 Server). I have OpenSSH installed on my windows server ...
0
votes
1answer
28 views

SSH Connection with keys (no password) follows a One-way traffic?

I have a general question about SSH connections. Have already checked some related posts and documents about the matter but could not find a straight answer. SSH Connection using keys presumes the ...
1
vote
1answer
61 views

Public and private keys in Google Cloud and WinSCP

I'm trying to transfer a directory of files from my local Windows 10 machine to the remote machine in Google Cloud. I'm following this tutorial to connect WinSCP to the GCP. But in step 7 I have to ...
3
votes
1answer
45 views

I have a ppk key file open in Notepad, but I do not remember it's passphrase. Can I retrieve the passphrase?

Basically the heading, I created a private key file using PuTTY a few days back and forgot the passphrase. Luckily, the file is still open in Notepad. I can see it's contents, but I cannot open it in ...
0
votes
0answers
17 views

How to export Windows network certificate with private key for use with Linux

For context, I need to connect to a network which requires a certificate to connect. The program to install the certificate is only available on windows and Mac. I successfully installed the ...
0
votes
0answers
17 views

Using GPG4USB, lost my passphrase :(

Hey folks ! I´m using gpg4usb and lost my passphrase. I got my pub key and private key. Any ideas how i can grab my passphrase again? regards, ontheROX
0
votes
0answers
292 views

Can I perform ECC encryption (like ECIES) with openssl?

I would like to use Elliptic Curve Cryptography to asymmetrically encrypt data. That is encrypt data using a public ECC key, so that only someone with the corresponding private key can decrypt it. I'm ...
0
votes
1answer
572 views

Putty Private/Public Key Pair - Generate Certificate

I have generated a private/public key pair using Putty. I have a private key file with extension .pem and public key file with extension .pub. Now I want to create a certificate from that and import ...
0
votes
0answers
36 views

MacOS 10.15 and Cisco Anyconnect private key permissions

In 10.13 in order to connect to our VPN, the private key attached to the machine certificate required the alteration of the key to allow the application to access it. In 10.15 this looks to be the ...
0
votes
1answer
147 views

should user have access to .gnupg/private-keys?

[I am new to using command-line gpg and might have messed up some steps during key creation. For privacy purposes I am redacting all key information with [REDACTED]] My gpg has my pubkey listed $ gpg -...
0
votes
1answer
172 views

SFTP connection works from Windows (WinSCP) but not from Linux, why?

I'm trying to connect to a remote linux server using a public key (it's not my server). I was given the public key and verified that I can connect just fine using WinSCP from a PC. However, the real ...
0
votes
0answers
244 views

Prove Private Key Encryption Backup is Safe

Cloud backup services such as iDrive and Acronis offer private key encryption. The important feature is that they offer this service before upload with the ability to store the encryption key ...
0
votes
1answer
49 views

Unexplained cached public fingerprint for private ssh key with ssh-keygen

I'm having a weird problem with SSH. I'm using ssh-keygen -lf id_rsa to generate the public fingerprint from my private ssh key id_rsa. However, no matter how I replace or change the contents of my ...
1
vote
1answer
1k views

Generating private+public keypair for SSH: difference between ssh-keygen and openssl?

I want to create private and public key pairs to be used for SSH authentication. I can't figure out the difference between this: openssl genrsa -out MyPrivateKey 4096 openssl rsa -in MyPrivateKey -...
6
votes
2answers
5k views

How to revoke a GPG Key and upload in GPG server?

I have create GPG Keys for code signing and created a revocation certificate also. As far as I know, if key is compromised then i can revoke the key using revocation certificate. Can someone suggest ...
0
votes
1answer
319 views

How to configure Fail2ban with private key ssh connection on CentOs 7

I tried to install Fail2ban on my Centos 7 machine to prevent force brute connection on ssh server. I'm using a private key with a passphrase to connect. I tested Fail2ban but it doesn't block me ...
7
votes
1answer
9k views

How to quickly identify SSH private key file formats?

Triggered today by Remote Desktop Manager, whose SSH Key Generator offered to save a private key in OpenSSH format, but then proceeded to store it in PKCS#1 / OpenSSL format, while using the same ...
0
votes
1answer
114 views

Is the role of public key/private key determined arbitrarily or mathematically?

I have read about conflicting information about the roles of public/private keys. In one article(Asymmetrical-key algorithms), it says: Simply put each party, say Alice, picks a private random ...
0
votes
1answer
225 views

Unprotected Private Key File

I have an Amazon EC2 instance that I have been using to learn networking concepts on, today I tried to connect via SSH and was prompted with the following error. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
0
votes
1answer
563 views

How to configure Tomcat to use SSL encryption with the private key stored on a remote server?

I want to know if there is a way to configure Tomcat server.xml to use the SSL encryption with a private key stored remotely on a server I can imagine the server configuration would be something like ...
1
vote
0answers
70 views

How do I manually connect to a WPA2 EAP-TLS school network using cloudpath on linux?

I’ve been trying to join my school’s wifi network with little success. Our school uses Cloudpath Enrollment System (used to be called Xpressconnect or something). All devices have to install and run ...
3
votes
1answer
3k views

How to convert an existing private key into ppk format using ssh-keygen?

I have a private key private.key) in format -----BEGIN RSA PRIVATE KEY-----IEpAIBAAKCAQEAvKwuhMiQR/THmjK.....-----END RSA PRIVATE KEY-----, and I am trying to convert it in the format that putty (.ppk)...
1
vote
1answer
4k views

“Unprotected private key file” when accessing a private key on volume in Docker Windows host

Private key is mounted using volume in docker container. Permissions on the host system (Windows) are defined as -r--r--r--. But when i run compose file get this error "Permissions 0755 for '/root/....
1
vote
0answers
237 views

importing public key with GNU Privacy Assistant (win 10)

I am trying to import my public key that I generated with Kleopatra and GNU Privacy Assistant. First I generated my public and private keys. I then export my public key and save it to my desktop (...
5
votes
1answer
7k views

PSFTP connection using key authentication

Using PuTTY to SSH onto server. But can't work out how to connect to SFTP. Private key is on a USB, maybe that's where I'm going wrong !? I have tried various ways e.g. PSFTP, but can't really find ...
2
votes
1answer
311 views

Using encrypted SSH key generated by PuTTYgen when connecting via SSH with PuTTY

I generated my public/private key couple with PuTTYgen, and now I want to use them to connect to a remote Linux host via SSH. However, PuTTYgen prompted me to save the private key "with a password" (I ...
1
vote
1answer
2k views

How to use ssh_config with matches for users

I'm trying to configure my ssh_config (CLIENT) to use different keyfiles depending on the user for the same host, but unable to make it work. What is wrong? It says bad arument Host myServer ...
0
votes
0answers
48 views

Is there a maximum number of subkeys in GnuPG?

The GnuPG documentation describes a process to generate subkeys for a gpg-master-key with the option to have different validity settings for subkeys. This works perfectly for a small amount of subkeys,...
-1
votes
1answer
134 views

Cant use openssh on windows with key authentication

I can't use my private key (i disabled password auth entirely) because Of "bad permissions" C:\Users\Patron>ssh -i C:\Users\Patron\id_rsa -p 993 root@my.ip.goes.here @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
0
votes
2answers
41 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
1answer
960 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 ...
2
votes
1answer
452 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
553 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 ...
2
votes
2answers
3k 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
1k 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
874 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 ...
1
vote
3answers
7k 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
1k 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 ...
239
votes
18answers
343k views

Windows SSH: Permissions for 'private-key' are too open

I've OpenSSH 7.6 installed in Windows 7 for testing purposes. SSH client & server work just fine till I tried to access one of my AWS EC2 box from this windows. It seems like I need to change the ...
-1
votes
1answer
68 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, ...
3
votes
1answer
3k 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
5k 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
5k 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
925 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
2k 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 ...