Scan for all kinds of keys so we don't record one and get hung up on another
authorPaul Crowley <paul@lshift.net>
Mon, 18 Apr 2011 11:13:23 +0100
changeset 299 f41666a08b87
parent 298 cc4f145a8bc3
child 300 31c2c6b383fd
Scan for all kinds of keys so we don't record one and get hung up on another
dev/chroot-test/action/go
--- a/dev/chroot-test/action/go	Mon Apr 18 10:54:01 2011 +0100
+++ b/dev/chroot-test/action/go	Mon Apr 18 11:13:23 2011 +0100
@@ -15,7 +15,7 @@
 
 perl -i -pe 's/^Port 22$/Port 2222/' /etc/ssh/sshd_config
 /etc/init.d/ssh start
-ssh-keyscan -p 2222 localhost > /etc/ssh/ssh_known_hosts
+ssh-keyscan -t rsa,dsa,ecdsa -p 2222 localhost > /etc/ssh/ssh_known_hosts
 
 . ./install-installables