Hacker News new | ask | show | jobs
by tbe 3776 days 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)