193 questions
0
votes
1
answer
52
views
Why am I unable to run `ssh-keygen` from Google Cloud Function?
I'm trying to ssh from a Google Cloud Function into a Google Compute VM using the following:
How to SSH from Cloud Functions to a GCE Instance
When I test the code in the GCF Testing environment, I ...
0
votes
1
answer
2k
views
Getting unknown key type ed25519-sk on Mac M2 Ventura
When trying to generate a key using:
ssh-keygen -t ed25519-sk -C "my instance key"
I get the following error:
unknown key type ed25519-sk
Anyone know how to solve it?
3
votes
3
answers
3k
views
Convert existing ed25519 private key file in openssl "private" format into ssh/ssh-keygen format using python3
I have an existing ed25519 keypair generated by openssl stored in files. The key files are in openssl "private" format, e.g. (these are sample keys; no secrets):
-----BEGIN PRIVATE KEY-----
...
0
votes
0
answers
57
views
How can I use `-i` option from ssh-keygen?
I was trying to get a public key in Openssh format from an existing .p12 certificate. I can see little to no documentation on this.
I saw this option -i option in ssh-keygen man page. That sounds ...
1
vote
1
answer
2k
views
Failing to generate ed25519-sk key pair | Key enrollment failed: unknown or unsupported key type
I am trying to generate ed25519-sk and ecdsa-sk keys using ssh-keygen on my Windows computer. I have OpenSSH OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3 installed and Yubikey Firmware version: 5.4.3. ...
1
vote
2
answers
689
views
Can the OpenSSH FIDO2 ssh key attestation data be used verify the key resides only a FIDO2 token (e.g. Yubikey)?
OpenSSH >=8.2 allows the use of FIDO2 authentication and the ssh-keygen command allows the creation of resident keys on FIDO2 tokens (such as a Yubikey). There is also the option of outputting ...
0
votes
1
answer
1k
views
Can't add a new public key via SSH (GITHUB)
I am trying to create a new public key via SSH on GitHub.
> code > SSH > copy > add new public key
The next window is SSH keys / Add new.
I type in a title, then copy and paste the ...
1
vote
1
answer
539
views
Why is the duration for ssh-keygen so different?
When calling ssh-keygen (in my case for a rsa key without passphrase) the time until the call finishes is different. I'm calling it on an embedded linux (4.14) with OpenSSH 8.8. The default keylen is ...
0
votes
2
answers
3k
views
Generate a DSA key pair with 2048 bit - add to the authorized_keys [closed]
My first attempt since ssh-keygen doesn't support dsa with size of 2048 (DSA keys must be 1024 bits), was to generate one with the size of 1024 (with no password):
$ ssh-keygen -b 1024 -t dsa
id_dsa
...
1
vote
1
answer
922
views
How to solve "unknown key type ed25519" in CPanel Terminal?
I'm following this documentation from C Panel so that I can use Git version control with C Panel but I immediately hit a stumbling block. When I add this line to the C Panel Terminal:
ssh-keygen -t ...
0
votes
0
answers
1k
views
'Host key verification failed' error message because host key changed in an SSH connection that was previously all right
I used to connect to a server via SSH. But after about a year of not connecting to the server, I tried connecting again when I was met with the error message 'Host key verification failed'. How do I ...
0
votes
1
answer
58
views
Getting error while clone the gitrepo using ssh-key
I have created a public key after I have pasted it on GitHub then I have tried to do git clone.
But while doing the clone, it is asking for the password:
Did i do anything wrong?
2
votes
1
answer
4k
views
Create multiple EdDSA SSH keys
I've read a bunch on how to do using rsa. Now, how can I create multiple ssh keys using EdDSA i.e. id_ed25519
I can't add the same existing key to multiple github accounts I own (key already in use)
...
0
votes
2
answers
138
views
.ssh does not existe after creat a key
When i run ssh-keygen,i have step by step creat a key with a PASSWORD. It tell me my key it's in
/var/root/.ssh/id_rsa/"mykey"
But when I locate the /var/root/.ssh with sudo or simple ...
1
vote
1
answer
2k
views
Gitlab SSH Key | must the ssh have the same username as gitlab account
Problem
Does the 'user@host' of the id_rsa.pub need to match with the actual machine username - host and then with the username in Gitlab?
Example:
Gitlab username name: @john.doe
Ubuntu Machine ...
-4
votes
1
answer
5k
views
WHY my ssh key not generating from gitbash after following all the mentioned command on github site?
After using several commands from githun site
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
Still my ssh key has been ...
0
votes
0
answers
475
views
node js ssh keygen giving , Cannot parse privateKey: Unsupported OpenSSH private key type: ssh-ed25519 even after pem option
My company uses ed25519 and nodejs version 10. I see the error,
"
I deleted the keys from the .ssh( this i was fine since I am starting to build new) and regenerated adding the -m pem option as ...
0
votes
1
answer
868
views
SSH still asking for password despite conf and permissions set up [closed]
I have a remote server (Contabo), and a Host (my Dell computer).
I have created a new sudo user laura instead of using root all the time, with:
adduser laura
usermod -aG sudo laura
I have generated ...
0
votes
0
answers
429
views
Generate SSH key for Public Key Authentication
Customer is changing SFTP to different location and written to me.
Changing SFTP-server to a more modern service at AWS.
Would be to secure the new username with a SSH key pair,
as we’re trying to ...
0
votes
1
answer
351
views
Express server can't read key in Docker container
I am dockerizing a system that uses a pem and key to authenticate with a remote dev server. Unfortunately, it would appear that it is unable to find the file despite it being in the docker image.
...
0
votes
0
answers
125
views
How do I create an ssh keygen for main server through the jump server?
I have the following setup:
ssh -J username@jump_server username@actual_server
I end up typing the same password twice to log in everytime.
How do I create an ssh-keygen so that I can log in to ...
0
votes
1
answer
885
views
Why does creating ECDSA keypairs via python differ from ssh-keygen -t ecdsa and how can I avoid that?
For openstack apparently I need the key-output like ssh-keygen -t ecdsa generates it, but I am not getting similar output when using the ecdsa modul in python.
def createECDSAKeyPairLocally(...
0
votes
1
answer
286
views
Run ssh-keygen in Ruby to generate VCS deploy keys?
I run this command to generate valid deploy keys for my private repos:
ssh-keygen -b 2048 -t rsa -C "mystring"
The command prompts me for a path and a password (which I leave empty), and ...
1
vote
1
answer
305
views
Cloudlab ssh access from one node to another
Is it possible to configure nodes so that one node can ssh into other nodes on CloudLab, which is required for a Flink cluster deployment. I tried generating public/private keys (ssh-keygen -t rsa -P “...
1
vote
1
answer
4k
views
Copying Your Public Key Using ssh-copy-id
I am trying to configure a SSH Key-Based Authentication and after i created one, i want to copy the SSH Public Key to my server. When i give the following command on git bash : ssh-copy-id username@...