Commit 9f6a4328 by Bach Dániel

call 'ssh-keygen -A' instead of distro specific commands

parent a8ce62c9
......@@ -163,12 +163,7 @@ class Context(object):
for f in filelist:
rmtree(f, ignore_errors=True)
if distro == 'debian':
subprocess.call(('/usr/sbin/dpkg-reconfigure',
'openssh-server'))
elif distro == 'rhel':
# TODO
pass
subprocess.call(('/usr/bin/ssh-keygen', '-A'))
elif system == 'Windows':
# TODO
......
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 sign in to comment