upstream commit
trim junk from end of file; bz#2455 from Jakub Jelen Upstream-Regress-ID: a4e64e8931e40d23874b047074444eff919cdfe6
This commit is contained in:
parent
f3a3ea180a
commit
9e3ed9ebb1
|
@ -1,4 +1,4 @@
|
||||||
# $OpenBSD: hostkey-rotate.sh,v 1.4 2015/07/10 06:23:25 markus Exp $
|
# $OpenBSD: hostkey-rotate.sh,v 1.5 2015/09/04 04:23:10 djm Exp $
|
||||||
# Placed in the Public Domain.
|
# Placed in the Public Domain.
|
||||||
|
|
||||||
tid="hostkey rotate"
|
tid="hostkey rotate"
|
||||||
|
@ -108,21 +108,3 @@ verbose "check rotate primary hostkey"
|
||||||
dossh -oStrictHostKeyChecking=yes -oHostKeyAlgorithms=ssh-rsa
|
dossh -oStrictHostKeyChecking=yes -oHostKeyAlgorithms=ssh-rsa
|
||||||
expect_nkeys 1 "learn hostkeys"
|
expect_nkeys 1 "learn hostkeys"
|
||||||
check_key_present ssh-rsa || fail "didn't learn changed key"
|
check_key_present ssh-rsa || fail "didn't learn changed key"
|
||||||
|
|
||||||
# $OpenBSD: hostkey-rotate.sh,v 1.4 2015/07/10 06:23:25 markus Exp $
|
|
||||||
# Placed in the Public Domain.
|
|
||||||
|
|
||||||
tid="hostkey rotate"
|
|
||||||
|
|
||||||
# Prepare hostkeys file with one key
|
|
||||||
|
|
||||||
# Connect to sshd
|
|
||||||
|
|
||||||
# Check that other keys learned
|
|
||||||
|
|
||||||
# Change one hostkey (non primary)
|
|
||||||
|
|
||||||
# Connect to sshd
|
|
||||||
|
|
||||||
# Check that the key was replaced
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue