system/notes/ssh.md

12 lines
164 B
Markdown
Raw Normal View History

2022-10-15 23:51:15 +03:00
# Get key for machine
```sh
ssh-keyscan <host>
```
If you want to get key for the current machine you can use the following code
```sh
ssh-keyscan localhost
```