31 lines
473 B
Markdown
31 lines
473 B
Markdown
# simple-ssh-server
|
||
|
||
# Login with FIDO
|
||
|
||
OpenSSH 版本需要在8.2以上,版本查看方法如下:
|
||
```
|
||
$ ssh -V
|
||
OpenSSH_8.6p1, OpenSSL 1.1.1k 25 Mar 2021
|
||
```
|
||
|
||
生成FIDO身份:
|
||
```
|
||
ssh-keygen -t ecdsa-sk [-C fido-u2f]
|
||
```
|
||
|
||
# Usage
|
||
|
||
Edit `allowed_keys` file:
|
||
```
|
||
sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrL...... fido-u2f
|
||
```
|
||
|
||
|
||
# Dependencies
|
||
* https://github.com/gliderlabs/ssh
|
||
|
||
|
||
# References
|
||
* https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.u2f
|
||
|