Questions tagged [private-key]
The private-key tag has no usage guidance.
139
questions
-1
votes
1
answer
24
views
putty doesn't save private keys
I'm using Putty on a Windows 2019 RDP session. The About on Putty shows:
Thycotic Secure Build
Build platform: 64-bit x86 Windows
Compiler: Visual Studio, unrecognised version, _MSC_VER=1929
...
2
votes
1
answer
109
views
Windows11 ssh-agent does not remember passphrase
I am facing the issue that my running ssh-agent is not remembering my private key passphrase. It keeps prompting to enter it, each time I open an SSH session. I cannot figure out why and hope somebody ...
0
votes
0
answers
96
views
Decrypt a file using an RSA key pair I created in PuttyGen
I created a public and private key pair in PuttyGen (RSA-2048) and gave the public key to a co-worker to encrypt a string. It was ultimately encrypted by a Microsoft Azure service and then the ...
1
vote
0
answers
80
views
Environment Variable not showing up
I am implementing public private key based authentication and I need to parameters the location where I store my keys. So that, programmatically my jobs can read it from this location and establish ...
0
votes
0
answers
709
views
Extracted Private Key from PFX file is rejected by SFTP Tools like Winscp or Filezilla
Long story short - I'm trying to extract the private key file from a PFX file which is used for SFTP authentication. I'm able to generate the private key file but it is not acceptable by the SFTP ...
-1
votes
1
answer
547
views
plink - Server refused our key - No supported authentication methods available
I am using a .ppk file with putty to connect to my AWS server. This works with no problems.
However, if I try to use the same .ppk file with plink then I get an error:
Attempt:
"C:\Program Files (...
0
votes
1
answer
1k
views
Why does the website gets "This site has requested that you identify yourself with a certificate" popup?
Recently I added a SSL certificate I received to a newly migrated website. Since no issues can be identified on most of the machines , some users complained of getting a 403 forbidden error. When ...
3
votes
1
answer
413
views
gpgsm: Cannot import private key
For signing emails, I requested an S/MIME certificate using the German academic DFN service. AT the end of this process, I get a .p12 file (PKCS12). I can convert this file to PEM using
openssl ...
0
votes
1
answer
2k
views
How to incorporate multiple .pem certification files to a single .pfx file?
I'm working on IIS on Windows 2019. I have given certificate files; cert.pem, chain.pem, fullchain.pem and privkey.pem. I believe that I have to convert this to .pfx to incorporate it to the IIS. How ...
0
votes
0
answers
1k
views
SFTP with public and private keys
I want to use private and public keys for access to the SFTP server, instead of a username/password mechanism. SFTP server should be available only for a specific user that can log in from whatever IP ...
0
votes
1
answer
1k
views
How to prevent or workaround Sysprep destroying certificate's private key
I have a Windows 10 image which contains a Certificate to be used by the main application. However, after I run a sysprep /generalize on the image, the Certificate's private key appears to be ...
2
votes
1
answer
1k
views
SSH asks for passphrase three times and authenticates no matter what is entered
When I attempt to SSH into a remote Linode server while using public key/private key and authentication, I'm asked to enter the key passphrase three times before it authenticates, and asks me the user ...
0
votes
0
answers
129
views
SSH Login from Termius using HashiCorp Vault's Certificate based Authentication on any Linux Server
Can we able to login to the Linux server with Certificate Based Authentication (which is provided by Hashicorp Vault) through Termius ?
I have a requirement to login through Public key and Private key ...
0
votes
0
answers
2k
views
Unable to load CA private key when creating the intermediate pair
Following the tutorial at LINK to create the root pair and intermediate pair.
Creating the root pair works fine, but when I try to create the intermediate pair using:
openssl ca -config openssl.cnf -...
1
vote
1
answer
194
views
Can we use a server's own private key from .ssh folder to SSH into it?
I have a remote server:
hostname = rserver.com
port = 22
user = john
The remote server has a key pair id_rsa.john and id_rsa.john.pub stored in ~/.ssh/ with proper permissions.
Assume that I somehow ...
0
votes
1
answer
59
views
Changing a minisign password
I have a minisign key that I want to change the password for.
The manpage doesn't mention anything about changing a password, is this possible?
0
votes
0
answers
155
views
Fail to connect to EC2 instance from the root user's shell - Permission denied (publickey) - Windows 10
I can connect to EC2 instance from my computer with SSH as a user tomas :
tomas@machine:~$ ssh ubuntu@ec2-3-91-55-214.compute-1.amazonaws.com
Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-1045-aws ...
0
votes
1
answer
1k
views
OpenSSL - Create private key doesn't prompt password
I installed OpenSSL 1.1.1 on windows https://kb.firedaemon.com/support/solutions/articles/4000121705#Download-OpenSSL
When I create private key I don't get password prompt
openssl genrsa -aes256 -out ...
1
vote
0
answers
433
views
WinSCP PuTTY key format too new [duplicate]
I am trying to connect to my server with WinSCP. I created a key by PuttyGen but when I am trying to connect to it by WinSCP it says that my PuTTY key format too new, Image of the error. Can somebody ...
0
votes
1
answer
46
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 ...
7
votes
2
answers
12k
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
1
answer
447
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 ...
1
vote
1
answer
1k
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
1
answer
92
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
1
answer
559
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
1
answer
150
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
1
answer
635
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
1
answer
2k
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
0
answers
124
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
1
answer
2k
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
1
answer
5k
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
1
answer
395
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
1
answer
1k
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
0
answers
292
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
1
answer
159
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 ...
4
votes
1
answer
7k
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 -...
19
votes
2
answers
19k
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
1
answer
568
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 ...
16
votes
1
answer
37k
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
1
answer
132
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
1
answer
386
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
1
answer
1k
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
0
answers
243
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 ...
5
votes
1
answer
12k
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)...
2
votes
1
answer
6k
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
0
answers
393
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 (...
6
votes
1
answer
18k
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
1
answer
1k
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 ...
7
votes
1
answer
10k
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
0
answers
96
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,...