From 1508f608385e816f2c974bc04151e6c170398c71 Mon Sep 17 00:00:00 2001 From: desaster Date: Thu, 26 Nov 2009 15:36:48 +0000 Subject: [PATCH] don't show the yes/no question as the host git-svn-id: https://kippo.googlecode.com/svn/trunk@82 951d7100-d841-11de-b865-b3884708a8e2 --- kippo/commands/ssh.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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