Closed Korkman closed 2 years ago
echo "$((ssh-keyscan -t ed25519,rsa,dsa,ecdsa localhost 2> /dev/null | ssh-keygen -E md5 -lf -; ssh-keyscan -t ed25519,rsa,dsa,ecdsa localhost 2> /dev/null | ssh-keygen -E sha256 -lf -) | sort | sed 's/^/ /')" ip a | grep global # TODO: if linux