Questions tagged [public-key]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
80 views

apt-get update throws error for key in 1 instance but not in second one, both identical

I'm trying to install influxdb in one of my instances, and I went and read many articles, and none of them worked, I went for the official documentation and followed instructions, and they still didn'...
Lauro182's user avatar
2 votes
1 answer
132 views

OpenSSH keys file cannot be UTF-16 formatted - prev: Windows (10) OpenSSH (Microsoft's flavour) refuses to accept all popular Public Key Algorithms

I have been trying to setup an OpenSSH server on Windows 10. The issue is with the Public Keys, password auth works fine. The file permissions for both normal and administrative users are not the ...
grekd's user avatar
  • 51
1 vote
0 answers
6 views

Is there any downside of using for Proxy Jump using Public keys

I am trying to implement a Proxy jump between the client and server. I am going through openssh server 8.9 documentation and did not find much information on usage and future problems using jump host ...
Mallikarjunarao Kosuri's user avatar
0 votes
1 answer
80 views

Public key login to computer with very old openSSH

I use ssh public key to login to a very old Linux machine running OpenSSH 5.9p1, and it's all worked fine for the past decade. Recently, though, I updated my work machine's OS (which is now running ...
Daniel Griscom's user avatar
0 votes
0 answers
30 views

Encrypt using certificate

I have certificate in DER format that according to my understanding contains public key. I need to encrypt symmetric key with certificates public key according to standard at least RSAES-PKCS1-v1_5. ...
vico's user avatar
  • 2,319
0 votes
0 answers
17 views

Problems with "apt update" in Xubuntu 20.04 -- how do I get the public key for cli.gitub.com [duplicate]

I see a problem when I try "apt update" -- here is the output root@camelot-j:/etc/ssh# apt update Ign:1 http://linux.dropbox.com/ubuntu disco InRelease Hit:2 http://linux.dropbox.com/ubuntu ...
4Dummies's user avatar
  • 173
28 votes
7 answers
34k views

Git SSH "permission denied" in macOS 13 Ventura

When I try to authenticate with an RSA SSH key in macOS 13 (Ventura), I get a Permission denied (publickey) error. However, when I use the same command against macOS 12 (Monterrey), it works correctly....
Haozhe Xie's user avatar
  • 1,151
0 votes
0 answers
143 views

SSH isn't working all of a sudden: public key-based authentication: server (Windows10) refusing key

I have a computer that I could SSH into for a long time using public key-based authentication. All of a sudden, the server (Windows10) is refusing my key, even though nothing has changed. The SSH ...
Brian's user avatar
  • 1
0 votes
0 answers
24 views

SFTP access for several users with public key

We have some accounts (remote working peoples) that needs to access this sftp folders. I have a partner that has created an sftp account and folder structure and needs to have now: ip address to ...
Burim Dervishi's user avatar
0 votes
0 answers
612 views

How to re-encrypt a Whatsapp db file?

A week ago I decrypted a crypt14 WhatsApp database file using this python script. But I accedientally deleted the original crypt14. Now I want to restore my database. I have a decrypted msgsql.db file....
user avatar
-1 votes
1 answer
581 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 (...
Black's user avatar
  • 7,250
0 votes
0 answers
931 views

How to fix permission denied publickey on Windows10 Git Bash?

I'm unable to ssh into a machine that operates bots of my friend. He added my public ssh key, so i can join, but I get the permission denied privatkey error message. I removed the actual ip $ ssh -vT ...
Timm's user avatar
  • 1
0 votes
0 answers
14 views

Oracle EBS R12.2

How to open an EBS application server R12 without host entry on windows 10? I'm an Oracle DBA in my company and my manager asked me this question that if our clients asked that I haven thousands users ...
Mr. Anonymous's user avatar
0 votes
0 answers
351 views

Create a Root CA self-signed certificate using the command line

I have Microsoft Server 2019 offline Root CA I want to renew the Root CA certificate, but I do not want it to be used immediately (as I want to push out the new Root CA certificate to key stores on ...
AUser's user avatar
  • 1
1 vote
1 answer
744 views

Fingerprint in PuTTY host key warning does not match EC2 key fingerprint

I rebooted my AWS EC2 instance, and now when I try to connect via SSH or FTP, I get the PuTTY warning about a potential security breach and that the host key doesn't match the one cached in the ...
hyphen's user avatar
  • 113
8 votes
1 answer
6k views

extracting a public key from an Ed25519 private key with OpenSSL?

Ed25519 private keys can be generated by doing openssl genpkey -algorithm ed25519 -outform PEM -out private.pem. My question is... using OpenSSL is there a way to get the public key from the private ...
neubert's user avatar
  • 6,673
1 vote
1 answer
3k views

SSH connection with Putty : Server refused our key

I'm having quite a hard time with ssh keys. To explain the context, I'm trying to ssh my VM (my computer is the client and the VM on it is the server). For now, it works using password authentication ...
Lunette's user avatar
  • 11
0 votes
0 answers
130 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 ...
MANISH KUMAR SINGH's user avatar
0 votes
1 answer
431 views

passwd: Authentication token manipulation error using ssh and public key

I'm using ssh and public key (saved in my local computer) to connect to a HPC cluster as follows: $ ssh -i ~/narvi_key/xenial-narvi-key alijani@narvi.tut.fi Enter passphrase for key '/home/xenial/...
Farid Alijani's user avatar
0 votes
1 answer
683 views

ssh public key authentication with PAM

My Ubuntu servers are using kerberos auth for ssh with password failover using PAM. I'd like to add public key authentication as well. As I read that doesn't really work. Has anyone implemented this ...
Sparky's user avatar
  • 1
0 votes
0 answers
99 views

SSH connection on a redhat server

I have been struggling for the past few days trying to get an ssh connection working with a public rsa key on a redhat ftp server. I have been following guides such as this one with little luck:https:/...
HaydBooksIt's user avatar
1 vote
1 answer
1k views

How can I convert my plain text (r,s) signature to a format that openssl can verify?

I have my (r,s) in the following format: ["r","442ca7cb054a9862ed93848cc13e0134968eba79db89e0e6f9ded510149aacd1","s","...
Felipe Tomao's user avatar
0 votes
1 answer
229 views

How could I do a list from an AWS account listing all running instances?

I'm using AWSCLI at Windows 10 Professional with GitBash. I need to have a list of all running AWS instances by account. Will start doing in an account to make a list to populate the public keys from ...
Marlon's user avatar
  • 329
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 ...
Hendry de Vries's user avatar
6 votes
2 answers
32k views

How do I use the openssl command to decode a public key .PEM file?

I have my localhost TSL/SSL certificate from Chrome stored to a .PEM file. Was wondering how do I use the oppenssl command to decode it into a list of human-readable fields. Googling this only ...
Daniel Donnelly's user avatar
0 votes
1 answer
135 views

connect ssh key on server windows fail

I want to connect to a Windows server with an SSH key and if I connect via an SSH password, it's works, but if I via my SSH key, it fails I'm user on this server and my public key is %UserProfile%/....
Eva's user avatar
  • 1
0 votes
1 answer
94 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 ...
BDR's user avatar
  • 126
0 votes
2 answers
2k views

OSX Big Sur SSH Public Key Location

On a new Mac-mini OSX Big Sur 11.0.1 I cannot find my public SSH key. It's not in ~/.ssh as that only has known_hosts Running the command find / -name "*.pub" -print does not find any ...
J. McNerney's user avatar
1 vote
1 answer
1k views

ssh-keygen, is it possible same public key generated? (ssh public key duplicate)

Is it possible same public key generated? In the following example, the two keys(test1.pub, test2.pub) created are different public key. $ ssh-keygen -C IsItPossible Generating public/private rsa key ...
SangHak Lee's user avatar
0 votes
0 answers
339 views

WIndows 10 ssh public key auth - server does not accept public key

I'm having both client and server running Windows 10, and did the steps according to the following guidelines in both client and server(ssh-keygen, put pub key in server auth keys file...): Key-based ...
AD1234's user avatar
  • 1
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 ...
Varun Sharma's user avatar
1 vote
0 answers
324 views

SSH | Permission denied (publickey)

I have two VMs in Google Cloud: I need to establish SSH connection between them. I generate a key in vm by ssh-keygen. saviord7@vm:~/.ssh$ ls -l total 12 -rw------- 1 saviord7 saviord7 1766 Aug 19 15:...
user388794's user avatar
0 votes
1 answer
331 views

Is there a SSHD "Match" Argument for "If user doesn't use pubkey/SSH key auth, do x"?

Is it possible to create a Match argument for when a SSH connection doesn't use a public key for authentication (such as when they use a password instead)? Ideally, I want to run a certain ...
kenzierawr's user avatar
1 vote
0 answers
855 views

Proftpd: Use public key only to connect

My requirement is such that there must be a custom proftpd docker image which any user can use. The user will run the docker container using the image and on running will mount a mount path to the ...
user1452759's user avatar
0 votes
1 answer
165 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 ...
cowlinator's user avatar
1 vote
1 answer
380 views

OpenSSH RSA publickey mysterious auth failure

I'm not new to configuring OpenSSH to require public key authentication, or generating keys and setting up access via authorized_keys, but this one has me stumped. I made a Linux Mint box for my in-...
user1161347's user avatar
0 votes
1 answer
1k views

Importing server public key into FileZilla (or other sftp clients)

How to import server public key into FileZilla? I'm able to access my server from SSH, and have the privilege to view whatever that's in /etc/ssh. I can produce hash fingerprints for these public ...
DannyNiu's user avatar
  • 153
0 votes
1 answer
297 views

share ssh public key on sftp configuration

I've configured a SFTP server on CentOS following this doc. My intention is to forbid the console login for the new users (user1, user2), which belong to the sftpusers group, but still can log in to ...
Juan I. Morales Pestana's user avatar
0 votes
1 answer
1k views

How to verify a gpg-signed file against a specific public key?

Background information: I have a directory full of files and detached .asc signatures. I also have my default keyring which includes many public keys of people (some of whom I trust and others I don't)...
Tenders McChiken's user avatar
1 vote
1 answer
681 views

How could I connect ansible by ssh into 2 Vagrant machines (Virtualbox Hypervisor)?

I would like to connect by ssh one machine with another to do ansible commands. I have a CentOS7 and want to connect inside the OS to Ubuntu16 VM. Look at my Vagrantfile and what I tried: Vagrant....
Marlon's user avatar
  • 329
2 votes
1 answer
2k views

How to verify an ssh key is valid for a given a host?

I want to test the validity of an ssh passphrase-protected identity file against a given host. I do not want to actually provide the passphrase nor do I necesarily know it, just verify that the ...
jorge rodriguez's user avatar
0 votes
1 answer
663 views

DISM RestoreHealth fail because an Invalid public key token

After some trouble with my OS (Windows 8.1 Professional N), i've decide to run the good old SFC /scannow, which found and repair some corrupted file. The CBS log report: 2019-10-05 06:52:37, Info ...
PRiM's user avatar
  • 1
0 votes
1 answer
295 views

Public key authentication and change of password

I have set up public key authentication for my Raspberry server. If I change the password of the user authenticated by the public key, shall I recreate the public key? Please advise. Thanks, Dan
user avatar
1 vote
0 answers
445 views

Openssl DSA Signature Verification Failure Error not understood

I am given a public key in PEM format: -----BEGIN PUBLIC KEY----- MIIDRjCCAjkGByqGSM44BAEwggIsAoIBAQCPPVSofEh+2wGLK/1UOEbx7R5YgCp5 JVrhglBS2QZxdiYnl9JCHVuFQC/vOxFeNmP9GUxv1vcQ7Jjr0J26sdUDFg+dP3ZD ...
abdul rahman taleb's user avatar
1 vote
1 answer
453 views

SSH connection via intermediate hosts with keys

I read several versions of this question and try to implement them but they did not work so I want to ask my problem with specific details. Host A: Local Computer Host B: Intermediate computer ( I ...
usoysal's user avatar
  • 11
10 votes
1 answer
28k views

OpenSSH public key file format?

I am having trouble parsing an OpenSSH public key file. I believe (but I am not certain) the format is detailed in RFC 4253, The Secure Shell (SSH) Transport Layer Protocol Section 6.6, Public Key ...
jww's user avatar
  • 11.8k
0 votes
1 answer
72 views

force scenario about REMOTE HOST IDENTIFICATION HAS CHANGED

everyone know the following message "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r", "@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @\r", "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
King David's user avatar
3 votes
1 answer
1k views

Differences between ssh-keygen private keys and libressl's?

I generated a private key using libressl 3.0 using curve secp521r1. openssl genpkey -aes128 -algorithm EC -pkeyopt ec_paramgen_curve:secp521r1 -pkeyopt ec_param_enc:named_curve As far as I know this ...
Vicfred's user avatar
  • 133
1 vote
1 answer
8k views

what is the size of public key for ecdsa spec256r1

I tried to generate pair key for ecdsa using openssl. Why the public key length is 65 bytes and not 64? Create private key openssl ecparam -genkey -name secp256r1 -noout -out private.pem Generate ...
yes's user avatar
  • 11
0 votes
0 answers
58 views

Windows successfully executes ssh but Manjaro does not (publickey)

I have a Raspberry Pi and I can login to it using Windows.  The .ssh/known_hosts file is empty.  However, using Manjaro (a fresh install), I get the following error: pi@raspberrpi: Permission denied (...
Mark Fuller's user avatar