diff options
Diffstat (limited to 'server/base_utils.py')
-rw-r--r-- | server/base_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/base_utils.py b/server/base_utils.py index 274a74e7..e38fc457 100644 --- a/server/base_utils.py +++ b/server/base_utils.py @@ -315,7 +315,7 @@ def get_public_key(): ssh-keygen and return it. """ - ssh_conf_path = os.path.join(os.environ['HOME'], '.ssh') + ssh_conf_path = os.path.expanduser('~/.ssh') dsa_public_key_path = os.path.join(ssh_conf_path, 'id_dsa.pub') dsa_private_key_path = os.path.join(ssh_conf_path, 'id_dsa') |