X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FStartDebug.py;fp=source%2Fsteps%2FStartDebug.py;h=6a9e130805d019741bdc816580849852b9aa3887;hb=a42db0a13cf1ab57f019a3e95aee56d5a09f3f12;hp=5cdf8f73b9d5a32471a187d2b19ac1918da2a04c;hpb=c428126e84d6304fd2bda070a707cd5f74f05812;p=bootmanager.git diff --git a/source/steps/StartDebug.py b/source/steps/StartDebug.py index 5cdf8f7..6a9e130 100644 --- a/source/steps/StartDebug.py +++ b/source/steps/StartDebug.py @@ -89,7 +89,8 @@ def Run( vars, log, last_resort = True): key=ssh_dir+"/ssh_host_dsa_key" if not os.path.isfile (key): log.write("Creating host dsa key %s\n"%key) - utils.sysexec( "ssh-keygen -d -f %s -N ''" % key, log ) + # very old versions did 'ssh-keygen -d' instead of 'ssh-keygen -t dsa' + utils.sysexec( "ssh-keygen -t dsa -f %s -N ''" % key, log ) # (over)write sshd config utils.sysexec( "cp -f %s/sshd_config %s/sshd_config" % (ssh_source_files,ssh_dir), log )