This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
services:2fa:ssh:linux [2021/03/29 07:46] – deul | services:2fa:ssh:linux [2021/04/11 17:47] – [Setup Linux ssh for key based login] deul | ||
---|---|---|---|
Line 33: | Line 33: | ||
The file id_ecdsa.pub must be transferred to the remote host. For this we can use ssh-copy-id: | The file id_ecdsa.pub must be transferred to the remote host. For this we can use ssh-copy-id: | ||
- | $ ssh-copy-id -i ~/.ssh/id_edcsa.pub username@remote-host | + | $ ssh-copy-id -i ~/.ssh/id_ecdsa.pub username@remote-host |
This may produce the following message: | This may produce the following message: |