username
This commit is contained in:
parent
a72e62a519
commit
12bbf03f5f
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue