The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
2answers
147 views

How to decrypt hostnames of a crypted .ssh/known_hosts with a list of the hostnames?

I try to find a script to decrypt (unhash) the ssh hostnames in the known_hosts file by passing a list of the hostnamses. So, to do exactly the reverse of: ssh-keygen -H -f known_hosts Or also, to ...
0
votes
0answers
31 views

Configure Key Based Authentication for ProFTPd

I was following this tutorial and stopped at this command sudo ssh-keygen -e -f ~username/.ssh/authorized_keys | sudo tee /etc/proftpd/authorized_keys/username. I tried with sudo, with su (super ...
4
votes
2answers
106 views

What elements affects the key pairs generated by ssh-keygen?

I use the ssh-keygen -t rsa to generate the RSA key pairs. I see that in the id_rsa.pub file, I see the username and the hostname. But I want to know that what elements will affects the key pairs. ...
1
vote
1answer
197 views

ssh-keygen -y error: load failed

I want to check correctness of a pair of RSA key. As far as I know, I can crate a public key from a private key by using the below command, and then compare two public key if are equal or not: ...
0
votes
2answers
87 views

How to enable passwordless auth to remote server as a different user?

This may seem quite trivial but what I've done doesn't seem to solve the problem. I'm connecting to a remote server as tom who (obviously) exists on the remote server but not the local server. I ...
18
votes
2answers
814 views

What's the purpose of the randomart image for user (not host) SSH keys?

The ssh-keygen generates the following output: The key fingerprint is: dd:e7:25:b3:e2:5b:d9:f0:25:28:9d:50:a2:c9:44:97 user@machine The key's randomart image is: +--[ RSA 2048]----+ | .o o.. ...
2
votes
2answers
52 views

Is there a one liner which can list public key fingerprints with authorised_keys as input?

I'd like to audit the authorised_keys file on a number of servers and match them with known AWS key fingerprints. Is there a one-liner which incorporates ssh-keygen -lf which will output the ...
0
votes
1answer
44 views

ssh-keygen utility

Is this possible to change the path that ssh-keygen use the files from? The default one is $HOME/.ssh/ so is this possible to change this? Like for example when using ssh-keygen -R to remove the host ...
0
votes
3answers
585 views

Is there a central repository of SSH keys on a system? Does SSH keygen put the private key in that location?

I just generated a public and private key with ssh key gen. I uploaded the public key onto a gitlab (basically a clone of git hub) system for my university and got an email saying that I successfully ...
12
votes
1answer
7k views

Convert OpenSSH private key into SSH2 private key

Is there a way to convert existing pair of OpenSSH keys to the SSH2 (ssh.com format) pair of keys? UPD: since there are some answers about ssh-keygen suddenly appeared, I'll explain where I came ...