diff --git a/home.admin/config.scripts/internet.sshtunnel.py b/home.admin/config.scripts/internet.sshtunnel.py index 4e7bc62..861145e 100755 --- a/home.admin/config.scripts/internet.sshtunnel.py +++ b/home.admin/config.scripts/internet.sshtunnel.py @@ -101,7 +101,7 @@ if sys.argv[1] == "on": # check if SSH keys for root user need to be created print() print("*** Checking root SSH keys") - if Path("/home/root/.ssh/id_rsa.pub").exists() == False: + if Path("/root/.ssh/id_rsa.pub").exists() == False: print("Generating root SSH keys ...") subprocess.call("sudo -u root ssh-keygen -b 2048 -t rsa -f ~/.ssh/id_rsa -q -N \"\"", shell=True) print("DONE")