print newline after ssh -V when reading from config file

This commit is contained in:
Michel Oosterhof
2019-03-15 14:40:14 +04:00
parent b7a0338f46
commit 58199d27e6

View File

@ -49,7 +49,7 @@ class command_ssh(HoneyPotCommand):
if opt[0] == '-V': if opt[0] == '-V':
self.write(CONFIG.get('shell', 'ssh_version', self.write(CONFIG.get('shell', 'ssh_version',
fallback="OpenSSH_7.9p1, \ fallback="OpenSSH_7.9p1, \
OpenSSL 1.1.1a 20 Nov 2018\n")) OpenSSL 1.1.1a 20 Nov 2018")+"\n")
self.exit() self.exit()
return return
if not len(args): if not len(args):