From 12bbf03f5f693edf0a5d89e0009173400433d103 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 27 Jan 2016 10:40:43 +0000 Subject: [PATCH] username --- src/freedombone | 4 ++-- src/freedombone-trove | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/freedombone b/src/freedombone index eea38c5c..1376d7ab 100755 --- a/src/freedombone +++ b/src/freedombone @@ -3635,8 +3635,8 @@ function enable_ssh_via_onion { fi echo 'Host *.onion' >> /home/$MY_USERNAME/.ssh/config echo 'ProxyCommand connect -R remote -5 -S 127.0.0.1:9050 %h %p' >> /home/$MY_USERNAME/.ssh/config - chown $MY_USER_NAME:$MY_USERNAME /home/$MY_USERNAME/.ssh - chown $MY_USER_NAME:$MY_USERNAME /home/$MY_USERNAME/.ssh/config + chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.ssh + chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.ssh/config fi if ! grep -q 'Host *.onion' /root/.ssh/config; then if [ ! -d /root/.ssh ]; then diff --git a/src/freedombone-trove b/src/freedombone-trove index 7af538f5..450c0767 100755 --- a/src/freedombone-trove +++ b/src/freedombone-trove @@ -126,8 +126,8 @@ function enable_trove_via_onion { fi echo 'Host *.onion' >> /home/trove/.ssh/config echo 'ProxyCommand connect -R remote -5 -S 127.0.0.1:9050 %h %p' >> /home/trove/.ssh/config - chown $MY_USER_NAME:trove /home/trove/.ssh - chown $MY_USER_NAME:trove /home/trove/.ssh/config + chown trove:trove /home/trove/.ssh + chown trove:trove /home/trove/.ssh/config fi }