mirror of
https://github.com/ryantm/agenix.git
synced 2024-09-11 06:05:38 +03:00
fix: adjust sample ssh-keyscan call
. Drop the <user>, since `ssh-keyscan` doesn't accept it. . Illustrate -t keytype, consistent with the output provided. . Clarify that the target can be specified either with a hostname or with an ip address.
This commit is contained in:
parent
8cb01a0e71
commit
46d1180ca0
@ -273,7 +273,7 @@ e.g. inside your `flake.nix` file:
|
||||
* your local computer usually in `~/.ssh`, e.g. `~/.ssh/id_ed25519.pub`.
|
||||
* from a running target machine with `ssh-keyscan`:
|
||||
```ShellSession
|
||||
$ ssh-keyscan <user>@<ip-address>
|
||||
$ ssh-keyscan -t ed25519 <hostname-or-ip-address>
|
||||
... ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKzxQgondgEYcLpcPdJLrTdNgZ2gznOHCAxMdaceTUT1
|
||||
...
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user