backups: Simplify SSH fingerprint verification command

There is no need to access the private key of an SSH host to get it's public key
fingerprint. Use public key file instead. No need for 'sudo' privileges because
of this any non-admin users can also do this verification.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
This commit is contained in:
Sunil Mohan Adapa 2019-11-07 14:32:21 -08:00 committed by Joseph Nuthalapati
parent a5d9736abc
commit 8e341a6c3b
No known key found for this signature in database
GPG Key ID: 5398F00A2FA43C35

View File

@ -65,7 +65,7 @@
{% endblocktrans %}
</p>
<p>
<code>sudo ssh-keygen -lf /etc/ssh/ssh_host_rsa_key</code>
<code>ssh-keygen -lf /etc/ssh/ssh_host_rsa_key.pub</code>
</p>
</div>
</section>