This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| services:2fa:ssh:macos [2021/03/22 12:39] – deul | services:2fa:ssh:macos [2021/03/29 07:45] (current) – deul | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| 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 question about passphrase, just hit enter (we will not be using passphrases). This will also have generated two files in your personal .ssh directory: | ||
| - | {{ : | + | {{ : |
| - | The file id_rsa.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-copy-id -i ~/ | ||
| Line 22: | Line 22: | ||
| / | / | ||
| username@remote-host' | username@remote-host' | ||
| + | One-time password (OATH) for `username`: | ||
| - | Type your password to actually start the file copy. | + | Type your password |
| Number of key(s) added: 1 | Number of key(s) added: 1 | ||