Is there a place (admin panel, …) where the public ssh key fingerprint is shown, and if so where?
1 Like
Ok I think I finally found out how to get the fingerprints:
$APP_DATA_PATH="your-gitea-data-directory"
echo -n "dsa,dsa,ecdsa,ecdsa,ed25519,ed25519,rsa,rsa" | \
xargs -d , -i sudo ssh-keygen -l -f $APP_DATA_PATH/ssh/ssh_host_{}_key.pub
Thanks to this Unix & Linux-StackExchange post for knowledge about getting fingerprints out of ssh keys.
note about the var $APP_DATA_PATH
:
APP_DATA_PATH
: data (/data/gitea on docker): Default path for application data.
source: Gitea Docs - config cheat sheet
1 Like