E
E
eldar_web2015-02-15 00:35:54
linux
eldar_web, 2015-02-15 00:35:54

How to generate 2048-bit RSA key for ssh on linux?

1) Using this command, you can generate a regular ssh key:
$ ssh-keygen -t rsa
How can you generate an rsa 2048b key?
2) And yet, I have such a task - I need to generate such a key and register it in ssh / config and actually go there - the file opens:
And there I write
Host name_domain.ru
IdentityFile ~/.ssh/id_rsa
And I don’t know how to save it. How can I save and should I write IdentityFile ~/.ssh/id_rsa or IdentityFile ~/.ssh/id_rsa.git ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Ergil Osin, 2015-02-15
@Ernillew

man ssh-keygen
man ssh_config
It's so hard to read mana on your computer, it's easier to scribble a question on the Toaster so that you would be sent from here to mana.

M
Maxim Grechushnikov, 2015-02-15
@maxyc_webber

ssh-keygen
cat ~/.ssh/id_rsa.pub

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question