diff --git a/kippo/commands/ssh.py b/kippo/commands/ssh.py index 492e83d..1c485cb 100644 --- a/kippo/commands/ssh.py +++ b/kippo/commands/ssh.py @@ -43,10 +43,9 @@ class command_ssh(HoneyPotCommand): self.callbacks = [self.yesno, self.wait] def yesno(self, line): - host = line.strip() self.writeln( 'Warning: Permanently added \'%s\' (RSA) to the list of known hosts.' % \ - host) + self.host) self.write('%s@%s\'s password: ' % (self.user, self.host)) self.honeypot.password_input = True