From 5cc61278d59bb7087278c07ac47f875204af75ff Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 22 Nov 2016 23:28:27 +0000 Subject: [PATCH] Show ssh public key on about screen --- src/freedombone-controlpanel | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index 47a390f2..63015891 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -468,7 +468,7 @@ function show_tahoe_introducer { } function show_ip_addresses { - echo 'IP/DNS addresses' + echo $'IP/DNS addresses' echo '================' echo '' echo -n "IPv4: $(get_ipv4_address)" @@ -480,6 +480,15 @@ function show_ip_addresses { echo '' } +function show_ssh_public_key { + echo $'SSH Public Key' + echo '==============' + echo '' + echo "$(get_ssh_server_key)" + echo '' + echo '' +} + function show_about { clear echo '' @@ -489,6 +498,7 @@ function show_about { clear show_ip_addresses + show_ssh_public_key show_domains show_mirrors_password show_tahoe_introducer