Skip to content

Commit

Permalink
fix: adjust sample ssh-keyscan call
Browse files Browse the repository at this point in the history
. 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.
  • Loading branch information
panchoh authored Feb 19, 2024
1 parent 8cb01a0 commit 46d1180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
...
```
Expand Down

0 comments on commit 46d1180

Please sign in to comment.