| /freebsd/crypto/openssh/regress/ |
| H A D | forwarding.sh | 29 ${SSH} -S $CTL -N -M -F $OBJ/ssh_config -f $fwd somehost 32 ${SSH} -F $OBJ/ssh_config -p$last -o 'ConnectionAttempts=10' \ 37 ${SSH} -F $OBJ/ssh_config -S $CTL -O exit somehost 2>/dev/null 43 ${SSH} -F $OBJ/ssh_config \ 53 ${SSH} -q -F $OBJ/ssh_config \ 68 ${SSH} -F $OBJ/ssh_config -oClearAllForwardings=yes somehost true 72 ${SSH} -S $CTL -N -M -f -F $OBJ/ssh_config -L ${base}01:127.0.0.1:$PORT \ 78 ${SSH} -F $OBJ/ssh_config -p ${base}01 somehost true \ 82 ${SSH} -F $OBJ/ssh_config -S $CTL -O exit somehost 2>/dev/null 86 ${SSH} -S $CTL -N -M -f -F $OBJ/ssh_config -R ${base}01:127.0.0.1:$PORT \ [all …]
|
| H A D | sshcfgparse.sh | 26 (${SSH} -G -F $OBJ/ssh_config somehost >$OBJ/ssh_config.1 && 27 ${SSH} -G -F $OBJ/ssh_config.1 somehost >$OBJ/ssh_config.2 && 31 f=`${SSH} -GF $OBJ/ssh_config host | awk '/exitonforwardfailure/{print $2}'` 33 f=`${SSH} -GF $OBJ/ssh_config -W a:1 h | awk '/exitonforwardfailure/{print $2}'` 35 f=`${SSH} -GF $OBJ/ssh_config -W a:1 -o exitonforwardfailure=no h | \ 39 f=`${SSH} -GF $OBJ/ssh_config host | awk '/clearallforwardings/{print $2}'` 41 f=`${SSH} -GF $OBJ/ssh_config -W a:1 h | awk '/clearallforwardings/{print $2}'` 43 f=`${SSH} -GF $OBJ/ssh_config -W a:1 -o clearallforwardings=no h | \ 49 f=`${SSH} -GF $OBJ/ssh_config host | awk '/^user /{print $2}'` 51 f=`${SSH} -GF $OBJ/ssh_config -o user=foo -l bar baz@host | awk '/^user /{print $2}'` [all …]
|
| H A D | limit-keytype.sh | 86 ${SSH} $certopts proxy true || fatal "cert failed" 87 ${SSH} $opts -i $OBJ/user_key1 proxy true || fatal "key1 failed" 88 ${SSH} $opts -i $OBJ/user_key2 proxy true || fatal "key2 failed" 94 ${SSH} $certopts proxy true && fatal "cert succeeded" 95 ${SSH} $opts -i $OBJ/user_key1 proxy true || fatal "key1 failed" 96 ${SSH} $opts -i $OBJ/user_key2 proxy true || fatal "key2 failed" 101 ${SSH} $certopts proxy true && fatal "cert succeeded" 102 ${SSH} $opts -i $OBJ/user_key1 proxy true || fatal "key1 failed" 104 ${SSH} $opts -i $OBJ/user_key2 proxy true && fatal "key2 succeeded" 110 ${SSH} $certopts proxy true || fatal "cert failed" [all …]
|
| H A D | percent.sh | 28 ${SSH} -F $OBJ/ssh_proxy -o $opt="echo '$arg' >$OBJ/actual" \ 37 got=`${SSH} -F $OBJ/ssh_proxy -o $opt="$arg" -G \ 41 got=`${SSH} -F $OBJ/ssh_proxy -l "$arg" -G \ 45 got=`${SSH} -F $OBJ/ssh_proxy -G "$arg@somehost" | \ 53 ${SSH} -F $OBJ/ssh_proxy -o $opt="$OBJ/$arg" somehost true && \ 61 ${SSH} -F $OBJ/ssh_proxy_match remuser@somehost true || true 67 got=`${SSH} -F $OBJ/ssh_proxy -o $opt="/$arg /$arg" -G \ 73 got=`${SSH} -F $OBJ/ssh_proxy -o $opt="$arg=TESTVAL" -G \ 79 got=`${SSH} -F $OBJ/ssh_proxy -o $opt=TESTVAL="$arg" -G \ 84 got=`${SSH} -F $OBJ/ssh_proxy -o $opt="$arg" -G \ [all …]
|
| H A D | multiplex.sh | 19 ${SSH} -F $OBJ/ssh_config -S $CTL -Ocheck otherhost \ 33 ${SSH} -Nn2 -MS$CTL -F $OBJ/ssh_config -oSendEnv="_XXX_TEST" somehost \ 44 _XXX_TEST=blah ${SSH} -F $OBJ/ssh_config -oSendEnv="_XXX_TEST" -S$CTL otherhost sh << 'EOF' 53 ${SSH} -F $OBJ/ssh_config -oSetEnv="_XXX_TEST=foo" -S$CTL otherhost sh << 'EOF' 64 ${SSH} $mode -F $OBJ/ssh_config -S$CTL otherhost cat ${DATA} > ${COPY} 70 ${SSH} $mode -F $OBJ/ssh_config -S $CTL otherhost cat ${DATA} > ${COPY} 78 ${SFTP} -S ${SSH} -F $OBJ/ssh_config -oControlPath=$CTL otherhost >>$TEST_REGRESS_LOGFILE 2>&1 84 ${SCP} -S ${SSH} -F $OBJ/ssh_config -oControlPath=$CTL otherhost:${DATA} ${COPY} >>$TEST_REGRESS_LO… 93 ${SSH} -F $OBJ/ssh_config -S $CTL -Oforward -L127.0.0.1:$((${PORT} + 2)):127.0.0.1:$((${PORT} + 1))… 103 ${SSH} -F $OBJ/ssh_config -S $CTL -Oforward -L$OBJ/unix-2.fwd:$OBJ/unix-1.fwd otherhost >>$TEST_SSH… [all …]
|
| H A D | knownhosts.sh | 9 ${SSH} $opts somehost true || fail "initial connection" 13 ${SSH} -ohashknownhosts=yes -o stricthostkeychecking=no $opts somehost true \ 17 ${SSH} $opts somehost true || fail "reconnect with hashed known hosts" 21 ${SSH} $opts -ostricthostkeychecking=no somehost true \ 23 ${SSH} $opts -ostricthostkeychecking=yes somehost true \ 28 ${SSH} $opts -ostricthostkeychecking=no somehost true \ 30 ${SSH} $opts -ostricthostkeychecking=yes somehost true \
|
| H A D | channel-timeout.sh | 12 ${SSH} -nNfM -oControlPath=$MUXPATH -F $OBJ/ssh_proxy "$@" somehost || 19 ${SSH} -qF $OBJ/ssh_proxy -oControlPath=$MUXPATH -O exit somehost || 28 ${SSH} -F $OBJ/ssh_proxy -oControlPath=$MUXPATH somehost "$@" 35 ${SSH} -F $OBJ/ssh_proxy somehost "sleep 5 ; exit 23" 44 ${SSH} -F $OBJ/ssh_proxy somehost "sleep 5 ; exit 23" 53 ${SSH} -F $OBJ/ssh_proxy somehost "exit 23" 62 ${SSH} -F $OBJ/ssh_proxy somehost "sleep 5 ; exit 23" 71 ${SSH} -F $OBJ/ssh_proxy somehost "sleep 5 ; exit 23" 130 $SFTP -qS $SSH -F $OBJ/ssh_proxy somehost:$DATA $COPY 143 $SFTP -qS $SSH -F $OBJ/ssh_proxy somehost:$DATA $COPY [all …]
|
| H A D | cert-file.sh | 59 ${SSH} -F $OBJ/no_identity_config -oIdentitiesOnly=yes \ 65 ${SSH} -F $OBJ/no_identity_config -oIdentitiesOnly=yes \ 72 ${SSH} $opts2 somehost exit 52 81 ${SSH} $opts3 somehost exit 52 91 ${SSH} $opts3 somehost exit 52 100 ${SSH} $opts3 somehost exit 52 110 ${SSH} $opts3 somehost exit 52 142 ${SSH} $opts somehost exit 52 149 ${SSH} $opts somehost exit 52 156 ${SSH} $opts somehost exit 52
|
| H A D | envpass.sh | 18 _TEST_ENV=blah ${SSH} -oSendEnv="*" -F $OBJ/ssh_proxy_envpass otherhost \ 29 ${SSH} -oSendEnv="*" -F $OBJ/ssh_proxy_envpass -oSetEnv="_TEST_ENV=blah" \ 41 _XXX_TEST_A=1 _XXX_TEST_B=2 ${SSH} -F $OBJ/ssh_proxy_envpass otherhost \ 52 _XXX_TEST=blah ${SSH} -oSendEnv="_XXX_TEST" -F $OBJ/ssh_proxy_envpass \ 63 _XXX_TEST_A=1 _XXX_TEST_B=2 ${SSH} -oSendEnv="_XXX_TEST_*" \ 75 ${SSH} -F $OBJ/ssh_proxy_envpass \ 86 ${SSH} -F $OBJ/ssh_proxy_envpass \ 100 ${SSH} -F $OBJ/ssh_proxy_envpass \ 114 ${SSH} -F $OBJ/ssh_proxy_envpass \
|
| H A D | key-options.sh | 20 r=`${SSH} -q -F $OBJ/ssh_proxy somehost echo foo` 37 ${SSH} -ttq -F $OBJ/ssh_proxy somehost "tty > $OBJ/data; exit 0" 55 ${SSH} -ttq -F $OBJ/ssh_proxy somehost "tty > $OBJ/data; exit 0" 78 r=`${SSH} -q -F $OBJ/ssh_proxy somehost 'echo $FOO'` 87 ${SSH} -q -F $OBJ/ssh_proxy somehost true 95 r=`${SSH} -q -F $OBJ/ssh_proxy somehost 'echo true'` 100 r=`${SSH} -q -F $OBJ/ssh_config somehost 'echo true'` 112 ${SSH} -q -F $OBJ/ssh_proxy somehost true
|
| H A D | proxyjump.sh | 27 f=`${SSH} -GF /dev/null -oProxyJump="$jspec" somehost | \ 32 f=`${SSH} -GF /dev/null -J "$jspec" somehost | \ 40 f=`${SSH} -GF /dev/null -oProxyJump=none -oProxyJump=jump1 somehost | \ 45 f=`${SSH} -GF /dev/null -oProxyJump=jump -oProxyCommand=foo somehost | \ 50 f=`${SSH} -GF /dev/null -oProxyCommand=foo -oProxyJump=jump somehost | \ 68 ${SSH} -GF /dev/null -J "$jspec" somehost >/dev/null 2>&1 72 ${SSH} -GF /dev/null -oProxyJump="$jspec" somehost >/dev/null 2>&1 79 f=`${SSH} -GF $OBJ/ssh_config somehost | grep "^proxyjump "`
|
| H A D | cert-userkey.sh | 14 for i in `$SSH -Q key-plain | maybe_filter_sk`; do 101 ${SSH} -i $OBJ/cert_user_key_${ktype} \ 110 ${SSH} -i $OBJ/cert_user_key_${ktype} \ 119 ${SSH} -i $OBJ/cert_user_key_${ktype} \ 128 ${SSH} -i $OBJ/cert_user_key_${ktype} \ 137 ${SSH} -i $OBJ/cert_user_key_${ktype} \ 147 ${SSH} -i $OBJ/cert_user_key_${ktype} \ 158 ${SSH} -i $OBJ/cert_user_key_${ktype} \ 181 ${SSH} -i $OBJ/cert_user_key_${ktype} \ 193 ${SSH} -i $OBJ/cert_user_key_${ktype} \ [all …]
|
| H A D | penalty.sh | 20 ${SSH} -F $OBJ/ssh_config somehost true || fatal "basic connect failed" 26 ${SSH} -F $OBJ/ssh_config somehost true && fatal "noauth connect succeeded" 31 ${SSH} -F $OBJ/ssh_config somehost true || fatal "authfail not expired" 36 ${SSH} -F $OBJ/ssh_config somehost true && fatal "noauth connect succeeded" 41 ${SSH} -F $OBJ/ssh_config somehost true && fail "authfail not rejected" 42 ${SSH} -F $OBJ/ssh_config somehost true && fail "repeat authfail not rejected" 45 ${SSH} -F $OBJ/ssh_config somehost true || fatal "basic connect failed"
|
| H A D | rekey.sh | 40 ${SSH} <${COPY} $_opts -vv \ 76 kexs=`${SSH} -Q kex | grep -v curve25519-sha256@libssh.org` 77 ciphers=`${SSH} -Q cipher` 78 macs=`${SSH} -Q mac` 92 if ${SSH} -Q cipher-auth | sed 's/^/Ciphers=/' | \ 111 ${SSH} < ${DATA} -oRekeyLimit="default $s" -F \ 128 ${SSH} -oRekeyLimit="default $s" -F \ 147 ${SSH} -F $OBJ/ssh_proxy somehost "cat ${COPY}" >${COPY2} 165 ${SSH} -F $OBJ/ssh_proxy somehost "sleep $s;sleep 10" 187 b=`${SSH} -G -o "rekeylimit $size" -F $OBJ/ssh_proxy host | \ [all …]
|
| H A D | forcecommand.sh | 22 ${SFTP} -S ${SSH} -b - -qF $OBJ/ssh_proxy somehost 2>/dev/null || \ 29 ${SSH} -F $OBJ/ssh_proxy somehost false || fail "forced command in key option" 36 ${SSH} -F $OBJ/ssh_proxy somehost false || fail "forced command config" 44 ${SFTP} -S ${SSH} -F $OBJ/ssh_proxy -oLoglevel=quiet somehost && \ 51 ${SSH} -F $OBJ/ssh_proxy somehost false || fail "forced command match" 55 ${SFTP} -S ${SSH} -F $OBJ/ssh_proxy -oLoglevel=quiet somehost && \ 64 ${SFTP} -S ${SSH} -b - -qF $OBJ/ssh_proxy somehost 2>/dev/null || \
|
| H A D | cipher-speed.sh | 7 ciphers=`${SSH} -Q Ciphers | tr '\n' , | sed 's/,$//'` 8 macs=`${SSH} -Q MACs | tr '\n' , | sed 's/,$//'` 24 for c in `${SSH} -Q cipher`; do n=0; for m in `${SSH} -Q mac`; do 28 ( ${SSH} -o 'compression no' \
|
| H A D | principals-command.sh | 85 ${SSH} -i $OBJ/cert_user_key \ 94 ${SSH} -i $OBJ/cert_user_key \ 103 ${SSH} -i $OBJ/cert_user_key \ 112 ${SSH} -i $OBJ/cert_user_key \ 122 ${SSH} -i $OBJ/cert_user_key \ 133 ${SSH} -i $OBJ/cert_user_key \ 152 ${SSH} -i $OBJ/cert_user_key \ 164 ${SSH} -i $OBJ/cert_user_key \
|
| H A D | kbdint.sh | 41 ${SSH} $opts -F $OBJ/ssh_proxy somehost true 49 ${SSH} $opts -F $OBJ/ssh_proxy somehost true 57 ${SSH} $opts -F $OBJ/ssh_proxy somehost true 65 ${SSH} $opts -F $OBJ/ssh_proxy somehost true 74 ${SSH} $opts -F $OBJ/ssh_proxy somehost true 83 ${SSH} $opts -F $OBJ/ssh_proxy somehost true
|
| H A D | agent.sh | 81 ${SSH} -F $OBJ/ssh_proxy somehost exit 52 95 ${SSH} -F $OBJ/ssh_proxy -i $OBJ/$t-agent.pub -oIdentitiesOnly=yes \ 106 ${SSH} -A -F $OBJ/ssh_proxy somehost ${SSHADD} -l > /dev/null 2>&1 111 ${SSH} "-oForwardAgent=$SSH_AUTH_SOCK" -F $OBJ/ssh_proxy somehost ${SSHADD} -l > /dev/null 2>&1 116 ${SSH} -A -F $OBJ/ssh_proxy somehost \ 117 "${SSH} -F $OBJ/ssh_proxy somehost exit 52" 124 ${SSH} "-oForwardAgent=$FW_SSH_AUTH_SOCK" -F $OBJ/ssh_proxy somehost ${SSHADD} -l > /dev/null 2>&1 129 ${SSH} '-oForwardAgent=$FW_SSH_AUTH_SOCK' -F $OBJ/ssh_proxy somehost ${SSHADD} -l > /dev/null 2>&1 141 ${SSH} '-oForwardAgent=$FW_SSH_AUTH_SOCK' -F $OBJ/ssh_proxy somehost ${SSHADD} -l > /dev/null 2>&1 153 ACCEPT=`$SSH -Q key | grep "^$BASE" | xargs echo | sed 's/ /,/g'` [all …]
|
| H A D | dhgex.sh | 10 kexs=`${SSH} -Q kex | grep diffie-hellman-group-exchange` 27 ${SSH} ${opts} $@ -vvv -F ${OBJ}/ssh_proxy somehost true 58 check 3072 `${SSH} -Q cipher | grep 128` 59 check 7680 `${SSH} -Q cipher | grep 192` 60 check 8192 `${SSH} -Q cipher | grep 256`
|
| H A D | try-ciphers.sh | 8 for c in `${SSH} -Q cipher`; do 10 for m in `${SSH} -Q mac`; do 16 ${SSH} -F $OBJ/ssh_proxy -m $m -c $c somehost true 22 if ${SSH} -Q cipher-auth | grep "^${c}\$" >/dev/null 2>&1 ; then
|
| H A D | reconfigure.sh | 21 ${SSH} -F $OBJ/ssh_config somehost true 40 ${SSH} -F $OBJ/ssh_config somehost true 46 ${SSH} -F $OBJ/ssh_config somehost sleep 10 # authenticated client 62 ${SSH} -F $OBJ/ssh_config somehost true
|
| H A D | penalty-expire.sh | 20 ${SSH} -F $OBJ/ssh_config somehost true || fatal "basic connect failed" 26 ${SSH} -F $OBJ/ssh_config somehost true && fatal "authfail connect succeeded" 31 ${SSH} -F $OBJ/ssh_config somehost true && fatal "authfail not rejected" 35 ${SSH} -F $OBJ/ssh_config somehost true || fail "authfail not expired"
|
| H A D | test-exec.sh | 93 SSH=ssh 126 SSH="${TEST_SSH_SSH}" 198 case "$SSH" in 200 *) SSH=`which $SSH` ;; 209 SSH_BIN=${SSH} 254 SSH="$VG --log-file=${VG_LOG}ssh.%p $SSH" 299 for i in ${SSH} ${SSHD} ${SSHAGENT} ${SSHADD} ${SSHKEYGEN} ${SCP} \ 333 echo "Executing: ${SSH} \$@" log \${logfile} >>$TEST_REGRESS_LOGFILE 334 echo "Executing: ${SSH} \$@" >>\${logfile} 338 exec ${SSH} -E\${logfile} "\$@" [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | PROTOCOL.sshsig | 1 This document describes a lightweight SSH Signature format 2 that is compatible with SSH keys and wire formats. 8 The Armored SSH signatures consist of a header, a base64 11 The header is the string "-----BEGIN SSH SIGNATURE-----" 13 "-----END SSH SIGNATURE-----" immediately after a newline. 25 -----BEGIN SSH SIGNATURE----- 30 -----END SSH SIGNATURE----- 46 public key used to make the signature using the usual SSH 69 The signature itself is made using the SSH signature algorithm and 91 signed during SSH user or host authentication. [all …]
|