mirror of
https://github.com/danog/tgseclib.git
synced 2025-01-22 05:51:20 +01:00
[coverage-html] Put fingerprint of RSA host key into variable.
This commit is contained in:
parent
29d2ae1727
commit
dda7498b60
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
USERNAME='phpseclib'
|
USERNAME='phpseclib'
|
||||||
HOSTNAME='phpseclib.bantux.org'
|
HOSTNAME='phpseclib.bantux.org'
|
||||||
|
HOSTRSAF='09:40:96:14:6a:cd:67:46:17:e5:b4:39:24:24:6e:9d'
|
||||||
LDIRNAME='code_coverage'
|
LDIRNAME='code_coverage'
|
||||||
RDIRNAME='code_coverage'
|
RDIRNAME='code_coverage'
|
||||||
ID_RSA='tests/code_coverage_id_rsa'
|
ID_RSA='tests/code_coverage_id_rsa'
|
||||||
@ -37,7 +38,7 @@ RSYNC_OPT="--recursive --times --links --progress"
|
|||||||
expect << EOF
|
expect << EOF
|
||||||
spawn rsync $RSYNC_OPT "$RDIRNAME/" "$USERNAME@$HOSTNAME:$RDIRNAME/"
|
spawn rsync $RSYNC_OPT "$RDIRNAME/" "$USERNAME@$HOSTNAME:$RDIRNAME/"
|
||||||
|
|
||||||
expect "RSA key fingerprint is 09:40:96:14:6a:cd:67:46:17:e5:b4:39:24:24:6e:9d."
|
expect "RSA key fingerprint is $HOSTRSAF."
|
||||||
send "yes\n"
|
send "yes\n"
|
||||||
|
|
||||||
expect "Enter passphrase for key '$ID_RSA':"
|
expect "Enter passphrase for key '$ID_RSA':"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user