Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
services:2fa:ssh:linux [2021/04/11 17:47] – [Setup Linux ssh for key based login] deul | services:2fa:ssh:linux [2021/07/08 09:21] (current) – deul |
---|
+----[SHA256]-----+ | +----[SHA256]-----+ |
| |
For both question about passphrase, just hit enter (we will not be using passphrases). This will also have generated two files in your personal .ssh directory: | For both questions about passphrase, just could hit enter (in that case we will not be using passphrases). Security wise it is better though you do fill in a passphrase. This will have generated two files in your personal .ssh directory: |
| |
$ ls -ltr id_ecdsa* | $ ls -ltr id_ecdsa* |
This may produce the following message: | This may produce the following message: |
| |
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/username/.ssh/id_edcsa.pub" | /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/username/.ssh/id_ecdsa.pub" |
The authenticity of host 'remote-host (123.123.123.123)' can't be established. | The authenticity of host 'remote-host (123.123.123.123)' can't be established. |
ECDSA key fingerprint is SHA256:tygMarTe3SOjTcY9HzldKThxQzsTeiYHg5JmjB2bxeg. | ECDSA key fingerprint is SHA256:tygMarTe3SOjTcY9HzldKThxQzsTeiYHg5JmjB2bxeg. |