5 ms·
> f=$(mktemp) && ssh-keyscan korell > $f && ssh-keygen -l -f $f && rm $f > Unfortunately ssh-keygen does not support input from stdin, so this example is sligh
by tbe 11y ago
> f=$(mktemp) && ssh-keyscan korell > $f && ssh-keygen -l -f $f && rm $f
> Unfortunately ssh-keygen does not support input from stdin, so this example is slightly more complicated than it should.
Any shell that supports process substitution can fix this for you with something like;
ssh-keygen -l -f <(ssh-keyscan korell)