Commit 89696a3d authored by Michal Čihař's avatar Michal Čihař

Use configured file

parent 78ac0909
...@@ -257,7 +257,7 @@ def ssh(request): ...@@ -257,7 +257,7 @@ def ssh(request):
'fingerprint': fingerprint, 'fingerprint': fingerprint,
} }
) )
with open(os.path.expanduser('~/.ssh/known_hosts'), 'a') as handle: with open(KNOWN_HOSTS_FILE, 'a') as handle:
for key in keys: for key in keys:
handle.write('%s\n' % key) handle.write('%s\n' % key)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment