START usr.bin/ssh 2024-07-25T22:51:19Z ==== misc ==== ===> misc ===> misc/sk-dummy cc -O2 -pipe -g -fPIC -DWITH_OPENSSL -fstack-protector-all -I/usr/src/regress/usr.bin/ssh/misc/sk-dummy/../../../../../usr.bin/ssh -Wall -Wextra -Werror -Wchar-subscripts -Wcomment -Wformat -Wformat-security -Wimplicit -Winline -Wmissing-declarations -Wmissing-prototypes -Wparentheses -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch -Wtrigraphs -Wuninitialized -Wunused -Wno-unused-parameter -Wold-style-definition -MD -MP -c /usr/src/regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c cc -O2 -pipe -g -fPIC -DWITH_OPENSSL -fstack-protector-all -I/usr/src/regress/usr.bin/ssh/misc/sk-dummy/../../../../../usr.bin/ssh -Wall -Wextra -Werror -Wchar-subscripts -Wcomment -Wformat -Wformat-security -Wimplicit -Winline -Wmissing-declarations -Wmissing-prototypes -Wparentheses -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch -Wtrigraphs -Wuninitialized -Wunused -Wno-unused-parameter -Wold-style-definition -MD -MP -c /usr/src/regress/usr.bin/ssh/misc/sk-dummy/../../../../../usr.bin/ssh/ed25519.c cc -O2 -pipe -g -fPIC -DWITH_OPENSSL -fstack-protector-all -I/usr/src/regress/usr.bin/ssh/misc/sk-dummy/../../../../../usr.bin/ssh -Wall -Wextra -Werror -Wchar-subscripts -Wcomment -Wformat -Wformat-security -Wimplicit -Winline -Wmissing-declarations -Wmissing-prototypes -Wparentheses -Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch -Wtrigraphs -Wuninitialized -Wunused -Wno-unused-parameter -Wold-style-definition -MD -MP -c /usr/src/regress/usr.bin/ssh/misc/sk-dummy/../../../../../usr.bin/ssh/hash.c cc -g -shared -o sk-dummy.so sk-dummy.o ed25519.o hash.o -lcrypto ==== t1 ==== ssh-keygen -if /usr/src/regress/usr.bin/ssh/rsa_ssh2.prv | diff - /usr/src/regress/usr.bin/ssh/rsa_openssh.prv tr '\n' '\r' /usr/src/regress/usr.bin/ssh/obj/rsa_ssh2_cr.prv ssh-keygen -if /usr/src/regress/usr.bin/ssh/obj/rsa_ssh2_cr.prv | diff - /usr/src/regress/usr.bin/ssh/rsa_openssh.prv awk '{print $0 "\r"}' /usr/src/regress/usr.bin/ssh/rsa_ssh2.prv > /usr/src/regress/usr.bin/ssh/obj/rsa_ssh2_crnl.prv ssh-keygen -if /usr/src/regress/usr.bin/ssh/obj/rsa_ssh2_crnl.prv | diff - /usr/src/regress/usr.bin/ssh/rsa_openssh.prv ==== t2 ==== cat /usr/src/regress/usr.bin/ssh/rsa_openssh.prv > t2.out chmod 600 t2.out ssh-keygen -yf t2.out | diff - /usr/src/regress/usr.bin/ssh/rsa_openssh.pub ==== t3 ==== ssh-keygen -ef /usr/src/regress/usr.bin/ssh/rsa_openssh.pub | ssh-keygen -if /dev/stdin | diff - /usr/src/regress/usr.bin/ssh/rsa_openssh.pub ==== t4 ==== ssh-keygen -E md5 -lf /usr/src/regress/usr.bin/ssh/rsa_openssh.pub | awk '{print $2}' | diff - /usr/src/regress/usr.bin/ssh/t4.ok ==== t5 ==== ssh-keygen -Bf /usr/src/regress/usr.bin/ssh/rsa_openssh.pub | awk '{print $2}' | diff - /usr/src/regress/usr.bin/ssh/t5.ok ==== t6 ==== set -xe ; if ssh -Q key | grep -q ^ssh-dss ; then ssh-keygen -if /usr/src/regress/usr.bin/ssh/dsa_ssh2.prv > t6.out1 ; ssh-keygen -if /usr/src/regress/usr.bin/ssh/dsa_ssh2.pub > t6.out2 ; chmod 600 t6.out1 ; ssh-keygen -yf t6.out1 | diff - t6.out2 ; fi + ssh -Q key + grep -q ^ssh-dss ==== t7 ==== ssh-keygen -q -t rsa -N '' -f t7.out ; ssh-keygen -lf t7.out > /dev/null ssh-keygen -Bf t7.out > /dev/null ==== t8 ==== set -xe ; if ssh -Q key | grep -q ^ssh-dss ; then ssh-keygen -q -t dsa -N '' -f t8.out ; fi + ssh -Q key + grep -q ^ssh-dss set -xe ; if ssh -Q key | grep -q ^ssh-dss ; then ssh-keygen -lf t8.out > /dev/null ; ssh-keygen -Bf t8.out > /dev/null ; fi + ssh -Q key + grep -q ^ssh-dss ==== t9 ==== ssh-keygen -q -t ecdsa -N '' -f t9.out ssh-keygen -lf t9.out > /dev/null ssh-keygen -Bf t9.out > /dev/null ==== t10 ==== ssh-keygen -q -t ed25519 -N '' -f t10.out ssh-keygen -lf t10.out > /dev/null ssh-keygen -Bf t10.out > /dev/null ==== t11 ==== ssh-keygen -E sha256 -lf /usr/src/regress/usr.bin/ssh/rsa_openssh.pub | awk '{print $2}' | diff - /usr/src/regress/usr.bin/ssh/t11.ok ==== t12 ==== ssh-keygen -q -t ed25519 -N '' -C 'test-comment-1234' -f t12.out ssh-keygen -lf t12.out.pub | grep -q test-comment-1234 ==== t-connect ==== cc -O2 -pipe -MD -MP -o timestamp /usr/src/regress/usr.bin/ssh/timestamp.c env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/connect.sh ok simple connect ==== t-proxy-connect ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/proxy-connect.sh plain username comp=no plain username comp=yes username with style ok proxy connect ==== t-sshfp-connect ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/sshfp-connect.sh SKIPPED: TEST_SSH_SSHFP_DOMAIN not set. ==== t-connect-privsep ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/connect-privsep.sh ok proxy connect with privsep ==== t-connect-uri ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/connect-uri.sh uri connect: no trailing slash uri connect: trailing slash uri connect: with path name ok uri connect ==== t-proto-version ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/proto-version.sh ok sshd version with different protocol combinations ==== t-proto-mismatch ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/proto-mismatch.sh ok protocol version mismatch ==== t-exit-status ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/exit-status.sh test remote exit status: status 0 test remote exit status: status 1 test remote exit status: status 4 test remote exit status: status 5 test remote exit status: status 44 ok remote exit status ==== t-exit-status-signal ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/exit-status-signal.sh ok exit status on signal ==== t-envpass ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/envpass.sh test environment passing: pass env, don't accept test environment passing: setenv, don't accept test environment passing: don't pass env, accept test environment passing: pass single env, accept single env test environment passing: pass multiple env, accept multiple env test environment passing: setenv, accept test environment passing: setenv, first match wins test environment passing: server setenv wins test environment passing: server setenv wins ok environment passing ==== t-transfer ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/transfer.sh ok transfer data ==== t-banner ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/banner.sh test banner: missing banner file test banner: size 0 test banner: size 10 test banner: size 100 test banner: size 1000 test banner: size 10000 test banner: size 100000 test banner: suppress banner (-q) ok banner ==== t-rekey ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/rekey.sh client rekey KexAlgorithms=diffie-hellman-group1-sha1 client rekey KexAlgorithms=diffie-hellman-group14-sha1 client rekey KexAlgorithms=diffie-hellman-group14-sha256 client rekey KexAlgorithms=diffie-hellman-group16-sha512 client rekey KexAlgorithms=diffie-hellman-group18-sha512 client rekey KexAlgorithms=diffie-hellman-group-exchange-sha1 client rekey KexAlgorithms=diffie-hellman-group-exchange-sha256 client rekey KexAlgorithms=ecdh-sha2-nistp256 client rekey KexAlgorithms=ecdh-sha2-nistp384 client rekey KexAlgorithms=ecdh-sha2-nistp521 client rekey KexAlgorithms=curve25519-sha256 client rekey KexAlgorithms=curve25519-sha256@libssh.org client rekey KexAlgorithms=sntrup761x25519-sha512@openssh.com client rekey Ciphers=3des-cbc client rekey Ciphers=aes128-cbc client rekey Ciphers=aes192-cbc client rekey Ciphers=aes256-cbc client rekey Ciphers=aes128-ctr client rekey Ciphers=aes192-ctr client rekey Ciphers=aes256-ctr client rekey Ciphers=aes128-gcm@openssh.com client rekey Ciphers=aes256-gcm@openssh.com client rekey Ciphers=chacha20-poly1305@openssh.com client rekey MACs=hmac-sha1 client rekey MACs=hmac-sha1-96 client rekey MACs=hmac-sha2-256 client rekey MACs=hmac-sha2-512 client rekey MACs=hmac-md5 client rekey MACs=hmac-md5-96 client rekey MACs=umac-64@openssh.com client rekey MACs=umac-128@openssh.com client rekey MACs=hmac-sha1-etm@openssh.com client rekey MACs=hmac-sha1-96-etm@openssh.com client rekey MACs=hmac-sha2-256-etm@openssh.com client rekey MACs=hmac-sha2-512-etm@openssh.com client rekey MACs=hmac-md5-etm@openssh.com client rekey MACs=hmac-md5-96-etm@openssh.com client rekey MACs=umac-64-etm@openssh.com client rekey MACs=umac-128-etm@openssh.com client rekey aes128-gcm@openssh.com diffie-hellman-group1-sha1 client rekey aes128-gcm@openssh.com diffie-hellman-group14-sha1 client rekey aes128-gcm@openssh.com diffie-hellman-group14-sha256 client rekey aes128-gcm@openssh.com diffie-hellman-group16-sha512 client rekey aes128-gcm@openssh.com diffie-hellman-group18-sha512 client rekey aes128-gcm@openssh.com diffie-hellman-group-exchange-sha1 client rekey aes128-gcm@openssh.com diffie-hellman-group-exchange-sha256 client rekey aes128-gcm@openssh.com ecdh-sha2-nistp256 client rekey aes128-gcm@openssh.com ecdh-sha2-nistp384 client rekey aes128-gcm@openssh.com ecdh-sha2-nistp521 client rekey aes128-gcm@openssh.com curve25519-sha256 client rekey aes128-gcm@openssh.com curve25519-sha256@libssh.org client rekey aes128-gcm@openssh.com sntrup761x25519-sha512@openssh.com client rekey aes256-gcm@openssh.com diffie-hellman-group1-sha1 client rekey aes256-gcm@openssh.com diffie-hellman-group14-sha1 client rekey aes256-gcm@openssh.com diffie-hellman-group14-sha256 client rekey aes256-gcm@openssh.com diffie-hellman-group16-sha512 client rekey aes256-gcm@openssh.com diffie-hellman-group18-sha512 client rekey aes256-gcm@openssh.com diffie-hellman-group-exchange-sha1 client rekey aes256-gcm@openssh.com diffie-hellman-group-exchange-sha256 client rekey aes256-gcm@openssh.com ecdh-sha2-nistp256 client rekey aes256-gcm@openssh.com ecdh-sha2-nistp384 client rekey aes256-gcm@openssh.com ecdh-sha2-nistp521 client rekey aes256-gcm@openssh.com curve25519-sha256 client rekey aes256-gcm@openssh.com curve25519-sha256@libssh.org client rekey aes256-gcm@openssh.com sntrup761x25519-sha512@openssh.com client rekey chacha20-poly1305@openssh.com diffie-hellman-group1-sha1 client rekey chacha20-poly1305@openssh.com diffie-hellman-group14-sha1 client rekey chacha20-poly1305@openssh.com diffie-hellman-group14-sha256 client rekey chacha20-poly1305@openssh.com diffie-hellman-group16-sha512 client rekey chacha20-poly1305@openssh.com diffie-hellman-group18-sha512 client rekey chacha20-poly1305@openssh.com diffie-hellman-group-exchange-sha1 client rekey chacha20-poly1305@openssh.com diffie-hellman-group-exchange-sha256 client rekey chacha20-poly1305@openssh.com ecdh-sha2-nistp256 client rekey chacha20-poly1305@openssh.com ecdh-sha2-nistp384 client rekey chacha20-poly1305@openssh.com ecdh-sha2-nistp521 client rekey chacha20-poly1305@openssh.com curve25519-sha256 client rekey chacha20-poly1305@openssh.com curve25519-sha256@libssh.org client rekey chacha20-poly1305@openssh.com sntrup761x25519-sha512@openssh.com client rekeylimit 16 client rekeylimit 1k client rekeylimit 128k client rekeylimit 256k client rekeylimit default 5 client rekeylimit default 10 client rekeylimit default 5 no data client rekeylimit default 10 no data server rekeylimit 16 server rekeylimit 1k server rekeylimit 128k server rekeylimit 256k server rekeylimit default 5 no data server rekeylimit default 10 no data rekeylimit parsing ok rekey ==== t-dhgex ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/dhgex.sh dhgex bits 3072 diffie-hellman-group-exchange-sha1 3des-cbc dhgex bits 3072 diffie-hellman-group-exchange-sha256 3des-cbc dhgex bits 3072 diffie-hellman-group-exchange-sha1 aes128-cbc dhgex bits 3072 diffie-hellman-group-exchange-sha256 aes128-cbc dhgex bits 3072 diffie-hellman-group-exchange-sha1 aes128-ctr dhgex bits 3072 diffie-hellman-group-exchange-sha256 aes128-ctr dhgex bits 3072 diffie-hellman-group-exchange-sha1 aes128-gcm@openssh.com dhgex bits 3072 diffie-hellman-group-exchange-sha256 aes128-gcm@openssh.com dhgex bits 7680 diffie-hellman-group-exchange-sha1 aes192-cbc dhgex bits 7680 diffie-hellman-group-exchange-sha256 aes192-cbc dhgex bits 7680 diffie-hellman-group-exchange-sha1 aes192-ctr dhgex bits 7680 diffie-hellman-group-exchange-sha256 aes192-ctr dhgex bits 8192 diffie-hellman-group-exchange-sha1 aes256-cbc dhgex bits 8192 diffie-hellman-group-exchange-sha256 aes256-cbc dhgex bits 8192 diffie-hellman-group-exchange-sha1 aes256-ctr dhgex bits 8192 diffie-hellman-group-exchange-sha256 aes256-ctr dhgex bits 8192 diffie-hellman-group-exchange-sha1 aes256-gcm@openssh.com dhgex bits 8192 diffie-hellman-group-exchange-sha256 aes256-gcm@openssh.com dhgex bits 8192 diffie-hellman-group-exchange-sha1 chacha20-poly1305@openssh.com dhgex bits 8192 diffie-hellman-group-exchange-sha256 chacha20-poly1305@openssh.com ok dhgex ==== t-stderr-data ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/stderr-data.sh test stderr data transfer: () test stderr data transfer: (-n) ok stderr data transfer ==== t-stderr-after-eof ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/stderr-after-eof.sh ok stderr data after eof ==== t-broken-pipe ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/broken-pipe.sh ok broken pipe test ==== t-try-ciphers ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/try-ciphers.sh test try ciphers: cipher 3des-cbc mac hmac-sha1 test try ciphers: cipher 3des-cbc mac hmac-sha1-96 test try ciphers: cipher 3des-cbc mac hmac-sha2-256 test try ciphers: cipher 3des-cbc mac hmac-sha2-512 test try ciphers: cipher 3des-cbc mac hmac-md5 test try ciphers: cipher 3des-cbc mac hmac-md5-96 test try ciphers: cipher 3des-cbc mac umac-64@openssh.com test try ciphers: cipher 3des-cbc mac umac-128@openssh.com test try ciphers: cipher 3des-cbc mac hmac-sha1-etm@openssh.com test try ciphers: cipher 3des-cbc mac hmac-sha1-96-etm@openssh.com test try ciphers: cipher 3des-cbc mac hmac-sha2-256-etm@openssh.com test try ciphers: cipher 3des-cbc mac hmac-sha2-512-etm@openssh.com test try ciphers: cipher 3des-cbc mac hmac-md5-etm@openssh.com test try ciphers: cipher 3des-cbc mac hmac-md5-96-etm@openssh.com test try ciphers: cipher 3des-cbc mac umac-64-etm@openssh.com test try ciphers: cipher 3des-cbc mac umac-128-etm@openssh.com test try ciphers: cipher aes128-cbc mac hmac-sha1 test try ciphers: cipher aes128-cbc mac hmac-sha1-96 test try ciphers: cipher aes128-cbc mac hmac-sha2-256 test try ciphers: cipher aes128-cbc mac hmac-sha2-512 test try ciphers: cipher aes128-cbc mac hmac-md5 test try ciphers: cipher aes128-cbc mac hmac-md5-96 test try ciphers: cipher aes128-cbc mac umac-64@openssh.com test try ciphers: cipher aes128-cbc mac umac-128@openssh.com test try ciphers: cipher aes128-cbc mac hmac-sha1-etm@openssh.com test try ciphers: cipher aes128-cbc mac hmac-sha1-96-etm@openssh.com test try ciphers: cipher aes128-cbc mac hmac-sha2-256-etm@openssh.com test try ciphers: cipher aes128-cbc mac hmac-sha2-512-etm@openssh.com test try ciphers: cipher aes128-cbc mac hmac-md5-etm@openssh.com test try ciphers: cipher aes128-cbc mac hmac-md5-96-etm@openssh.com test try ciphers: cipher aes128-cbc mac umac-64-etm@openssh.com test try ciphers: cipher aes128-cbc mac umac-128-etm@openssh.com test try ciphers: cipher aes192-cbc mac hmac-sha1 test try ciphers: cipher aes192-cbc mac hmac-sha1-96 test try ciphers: cipher aes192-cbc mac hmac-sha2-256 test try ciphers: cipher aes192-cbc mac hmac-sha2-512 test try ciphers: cipher aes192-cbc mac hmac-md5 test try ciphers: cipher aes192-cbc mac hmac-md5-96 test try ciphers: cipher aes192-cbc mac umac-64@openssh.com test try ciphers: cipher aes192-cbc mac umac-128@openssh.com test try ciphers: cipher aes192-cbc mac hmac-sha1-etm@openssh.com test try ciphers: cipher aes192-cbc mac hmac-sha1-96-etm@openssh.com test try ciphers: cipher aes192-cbc mac hmac-sha2-256-etm@openssh.com test try ciphers: cipher aes192-cbc mac hmac-sha2-512-etm@openssh.com test try ciphers: cipher aes192-cbc mac hmac-md5-etm@openssh.com test try ciphers: cipher aes192-cbc mac hmac-md5-96-etm@openssh.com test try ciphers: cipher aes192-cbc mac umac-64-etm@openssh.com test try ciphers: cipher aes192-cbc mac umac-128-etm@openssh.com test try ciphers: cipher aes256-cbc mac hmac-sha1 test try ciphers: cipher aes256-cbc mac hmac-sha1-96 test try ciphers: cipher aes256-cbc mac hmac-sha2-256 test try ciphers: cipher aes256-cbc mac hmac-sha2-512 test try ciphers: cipher aes256-cbc mac hmac-md5 test try ciphers: cipher aes256-cbc mac hmac-md5-96 test try ciphers: cipher aes256-cbc mac umac-64@openssh.com test try ciphers: cipher aes256-cbc mac umac-128@openssh.com test try ciphers: cipher aes256-cbc mac hmac-sha1-etm@openssh.com test try ciphers: cipher aes256-cbc mac hmac-sha1-96-etm@openssh.com test try ciphers: cipher aes256-cbc mac hmac-sha2-256-etm@openssh.com test try ciphers: cipher aes256-cbc mac hmac-sha2-512-etm@openssh.com test try ciphers: cipher aes256-cbc mac hmac-md5-etm@openssh.com test try ciphers: cipher aes256-cbc mac hmac-md5-96-etm@openssh.com test try ciphers: cipher aes256-cbc mac umac-64-etm@openssh.com test try ciphers: cipher aes256-cbc mac umac-128-etm@openssh.com test try ciphers: cipher aes128-ctr mac hmac-sha1 test try ciphers: cipher aes128-ctr mac hmac-sha1-96 test try ciphers: cipher aes128-ctr mac hmac-sha2-256 test try ciphers: cipher aes128-ctr mac hmac-sha2-512 test try ciphers: cipher aes128-ctr mac hmac-md5 test try ciphers: cipher aes128-ctr mac hmac-md5-96 test try ciphers: cipher aes128-ctr mac umac-64@openssh.com test try ciphers: cipher aes128-ctr mac umac-128@openssh.com test try ciphers: cipher aes128-ctr mac hmac-sha1-etm@openssh.com test try ciphers: cipher aes128-ctr mac hmac-sha1-96-etm@openssh.com test try ciphers: cipher aes128-ctr mac hmac-sha2-256-etm@openssh.com test try ciphers: cipher aes128-ctr mac hmac-sha2-512-etm@openssh.com test try ciphers: cipher aes128-ctr mac hmac-md5-etm@openssh.com test try ciphers: cipher aes128-ctr mac hmac-md5-96-etm@openssh.com test try ciphers: cipher aes128-ctr mac umac-64-etm@openssh.com test try ciphers: cipher aes128-ctr mac umac-128-etm@openssh.com test try ciphers: cipher aes192-ctr mac hmac-sha1 test try ciphers: cipher aes192-ctr mac hmac-sha1-96 test try ciphers: cipher aes192-ctr mac hmac-sha2-256 test try ciphers: cipher aes192-ctr mac hmac-sha2-512 test try ciphers: cipher aes192-ctr mac hmac-md5 test try ciphers: cipher aes192-ctr mac hmac-md5-96 test try ciphers: cipher aes192-ctr mac umac-64@openssh.com test try ciphers: cipher aes192-ctr mac umac-128@openssh.com test try ciphers: cipher aes192-ctr mac hmac-sha1-etm@openssh.com test try ciphers: cipher aes192-ctr mac hmac-sha1-96-etm@openssh.com test try ciphers: cipher aes192-ctr mac hmac-sha2-256-etm@openssh.com test try ciphers: cipher aes192-ctr mac hmac-sha2-512-etm@openssh.com test try ciphers: cipher aes192-ctr mac hmac-md5-etm@openssh.com test try ciphers: cipher aes192-ctr mac hmac-md5-96-etm@openssh.com test try ciphers: cipher aes192-ctr mac umac-64-etm@openssh.com test try ciphers: cipher aes192-ctr mac umac-128-etm@openssh.com test try ciphers: cipher aes256-ctr mac hmac-sha1 test try ciphers: cipher aes256-ctr mac hmac-sha1-96 test try ciphers: cipher aes256-ctr mac hmac-sha2-256 test try ciphers: cipher aes256-ctr mac hmac-sha2-512 test try ciphers: cipher aes256-ctr mac hmac-md5 test try ciphers: cipher aes256-ctr mac hmac-md5-96 test try ciphers: cipher aes256-ctr mac umac-64@openssh.com test try ciphers: cipher aes256-ctr mac umac-128@openssh.com test try ciphers: cipher aes256-ctr mac hmac-sha1-etm@openssh.com test try ciphers: cipher aes256-ctr mac hmac-sha1-96-etm@openssh.com test try ciphers: cipher aes256-ctr mac hmac-sha2-256-etm@openssh.com test try ciphers: cipher aes256-ctr mac hmac-sha2-512-etm@openssh.com test try ciphers: cipher aes256-ctr mac hmac-md5-etm@openssh.com test try ciphers: cipher aes256-ctr mac hmac-md5-96-etm@openssh.com test try ciphers: cipher aes256-ctr mac umac-64-etm@openssh.com test try ciphers: cipher aes256-ctr mac umac-128-etm@openssh.com test try ciphers: cipher aes128-gcm@openssh.com mac hmac-sha1 test try ciphers: cipher aes256-gcm@openssh.com mac hmac-sha1 test try ciphers: cipher chacha20-poly1305@openssh.com mac hmac-sha1 ok try ciphers ==== t-yes-head ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/yes-head.sh ok yes pipe head ==== t-login-timeout ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/login-timeout.sh ok connect after login grace timeout ==== t-agent ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/agent.sh ok simple agent test ==== t-agent-getpeereid ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/agent-getpeereid.sh ok disallow agent attach from other uid ==== t-agent-timeout ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/agent-timeout.sh ok agent timeout test ==== t-agent-ptrace ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/agent-ptrace.sh SKIPPED: running as root ==== t-agent-subprocess ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/agent-subprocess.sh ok agent subprocess ==== t-keyscan ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/keyscan.sh ok keyscan ==== t-keygen-change ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/keygen-change.sh ok change passphrase for key ==== t-keygen-comment ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/keygen-comment.sh ok Comment extraction from private key ==== t-keygen-convert ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/keygen-convert.sh ok convert keys ==== t-keygen-knownhosts ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/keygen-knownhosts.sh /usr/src/regress/usr.bin/ssh/obj/kh.hosts updated. Original contents retained as /usr/src/regress/usr.bin/ssh/obj/kh.hosts.old /usr/src/regress/usr.bin/ssh/obj/kh.hosts updated. Original contents retained as /usr/src/regress/usr.bin/ssh/obj/kh.hosts.old /usr/src/regress/usr.bin/ssh/obj/kh.hosts updated. Original contents retained as /usr/src/regress/usr.bin/ssh/obj/kh.hosts.old /usr/src/regress/usr.bin/ssh/obj/kh.hosts updated. Original contents retained as /usr/src/regress/usr.bin/ssh/obj/kh.hosts.old /usr/src/regress/usr.bin/ssh/obj/kh.hashed updated. Original contents retained as /usr/src/regress/usr.bin/ssh/obj/kh.hashed.old ok ssh-keygen known_hosts ==== t-keygen-moduli ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/keygen-moduli.sh ok keygen moduli ==== t-keygen-sshfp ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/keygen-sshfp.sh ok keygen-sshfp ==== t-key-options ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/key-options.sh key option command="echo bar" key option no-pty,command="echo bar" key option pty default key option pty no-pty key option pty restrict key option pty restrict,pty key option environment key option from="127.0.0.1" key option from="127.0.0.0/8" key option expiry-time default key option expiry-time invalid key option expiry-time expired key option expiry-time valid ok key options ==== t-scp ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/scp.sh scp: scp mode: simple copy local file to local file scp: scp mode: simple copy local file to remote file scp: scp mode: simple copy remote file to local file scp: scp mode: copy local file to remote file in place scp: scp mode: copy remote file to local file in place scp: scp mode: copy local file to remote file clobber -rw-r--r-- 1 root wobj 472 Jul 26 01:24 /usr/src/regress/usr.bin/ssh/obj/copy -rw-r--r-- 1 root wobj 472 Jul 26 01:24 /usr/src/regress/usr.bin/ssh/obj/data scp: scp mode: copy remote file to local file clobber scp: scp mode: simple copy local file to remote dir scp: scp mode: simple copy local file to local dir scp: scp mode: simple copy remote file to local dir scp: scp mode: recursive local dir to remote dir scp: scp mode: recursive local dir to local dir scp: scp mode: recursive remote dir to local dir scp: scp mode: unmatched glob file local->remote scp: scp mode: unmatched glob file remote->local scp: scp mode: unmatched glob dir recursive local->remote scp: scp mode: unmatched glob dir recursive remote->local scp: scp mode: shell metacharacters scp: scp mode: disallow bad server #0 scp: scp mode: disallow bad server #1 scp: scp mode: disallow bad server #2 scp: scp mode: disallow bad server #3 scp: scp mode: disallow bad server #4 scp: scp mode: disallow bad server #5 scp: scp mode: disallow bad server #6 scp: scp mode: disallow bad server #7 scp: scp mode: detect non-directory target /usr/src/regress/usr.bin/ssh/obj/copy2: Not a directory scp: sftp mode: simple copy local file to local file scp: sftp mode: simple copy local file to remote file scp: sftp mode: simple copy remote file to local file scp: sftp mode: copy local file to remote file in place scp: sftp mode: copy remote file to local file in place scp: sftp mode: copy local file to remote file clobber -rw-r--r-- 1 root wobj 472 Jul 26 01:24 /usr/src/regress/usr.bin/ssh/obj/copy -rw-r--r-- 1 root wobj 472 Jul 26 01:24 /usr/src/regress/usr.bin/ssh/obj/data scp: sftp mode: copy remote file to local file clobber scp: sftp mode: simple copy local file to remote dir scp: sftp mode: simple copy local file to local dir scp: sftp mode: simple copy remote file to local dir scp: sftp mode: recursive local dir to remote dir scp: sftp mode: recursive local dir to local dir scp: sftp mode: recursive remote dir to local dir scp: sftp mode: unmatched glob file local->remote scp: sftp mode: unmatched glob file remote->local scp: sftp mode: unmatched glob dir recursive local->remote scp: sftp mode: unmatched glob dir recursive remote->local scp: sftp mode: shell metacharacters scp: sftp mode: disallow bad server #0 scp: sftp mode: disallow bad server #1 scp: sftp mode: disallow bad server #2 scp: sftp mode: disallow bad server #3 scp: sftp mode: disallow bad server #4 scp: sftp mode: disallow bad server #5 scp: sftp mode: disallow bad server #6 scp: sftp mode: disallow bad server #7 scp: sftp mode: detect non-directory target /usr/src/regress/usr.bin/ssh/obj/copy2: Not a directory ok scp ==== t-scp3 ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/scp3.sh scp3: scp mode: simple copy remote file to remote file scp3: scp mode: simple copy remote file to remote dir scp3: scp mode: recursive remote dir to remote dir scp3: scp mode: detect non-directory target scp3: sftp mode: simple copy remote file to remote file scp3: sftp mode: simple copy remote file to remote dir scp3: sftp mode: recursive remote dir to remote dir scp3: sftp mode: detect non-directory target scp: /usr/src/regress/usr.bin/ssh/obj/copy2: destination is not a directory scp: /usr/src/regress/usr.bin/ssh/obj/copy2: destination is not a directory ok scp3 ==== t-scp-uri ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/scp-uri.sh scp-uri: scp mode: simple copy local file to remote file scp-uri: scp mode: simple copy remote file to local file scp-uri: scp mode: simple copy local file to remote dir scp-uri: scp mode: simple copy remote file to local dir scp-uri: scp mode: recursive local dir to remote dir scp-uri: scp mode: recursive remote dir to local dir scp-uri: sftp mode: simple copy local file to remote file scp-uri: sftp mode: simple copy remote file to local file scp-uri: sftp mode: simple copy local file to remote dir scp-uri: sftp mode: simple copy remote file to local dir scp-uri: sftp mode: recursive local dir to remote dir scp-uri: sftp mode: recursive remote dir to local dir ok scp-uri ==== t-sftp ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/sftp.sh test basic sftp put/get: buffer_size 5 num_requests 1 test basic sftp put/get: buffer_size 5 num_requests 2 test basic sftp put/get: buffer_size 5 num_requests 10 test basic sftp put/get: buffer_size 1000 num_requests 1 test basic sftp put/get: buffer_size 1000 num_requests 2 test basic sftp put/get: buffer_size 1000 num_requests 10 test basic sftp put/get: buffer_size 32000 num_requests 1 test basic sftp put/get: buffer_size 32000 num_requests 2 test basic sftp put/get: buffer_size 32000 num_requests 10 test basic sftp put/get: buffer_size 64000 num_requests 1 test basic sftp put/get: buffer_size 64000 num_requests 2 test basic sftp put/get: buffer_size 64000 num_requests 10 ok basic sftp put/get ==== t-sftp-chroot ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/sftp-chroot.sh test sftp in chroot: get test sftp in chroot: match ok sftp in chroot ==== t-sftp-cmds ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/sftp-cmds.sh sftp commands: lls sftp commands: lls w/path sftp commands: ls sftp commands: shell sftp commands: pwd sftp commands: lpwd sftp commands: quit sftp commands: help sftp commands: get sftp commands: get quoted sftp commands: get filename with quotes sftp commands: get filename with spaces sftp commands: get filename with glob metacharacters sftp commands: get to directory sftp commands: glob get to directory sftp commands: get to local dir sftp commands: glob get to local dir sftp commands: put sftp commands: put filename with quotes sftp commands: put filename with spaces sftp commands: put to directory sftp commands: glob put to directory sftp commands: put to local dir sftp commands: glob put to local dir sftp commands: rename sftp commands: rename directory sftp commands: ln sftp commands: ln -s sftp commands: cp sftp commands: mkdir sftp commands: chdir sftp commands: rmdir sftp commands: lmkdir sftp commands: lchdir ok sftp commands ==== t-sftp-badcmds ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/sftp-badcmds.sh sftp invalid commands: get nonexistent sftp invalid commands: glob get to nonexistent directory sftp invalid commands: put nonexistent sftp invalid commands: glob put to nonexistent directory sftp invalid commands: rename nonexistent sftp invalid commands: rename target exists (directory) sftp invalid commands: glob put files to local file ok sftp invalid commands ==== t-sftp-batch ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/sftp-batch.sh sftp batchfile: good commands sftp batchfile: bad commands sftp batchfile: comments and blanks sftp batchfile: junk command ok sftp batchfile ==== t-sftp-glob ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/sftp-glob.sh sftp glob: file glob sftp glob: dir glob sftp glob: quoted glob sftp glob: escaped glob sftp glob: escaped quote sftp glob: quoted quote sftp glob: single-quoted quote sftp glob: escaped slash sftp glob: quoted slash sftp glob: escaped slash at EOL sftp glob: quoted slash at EOL sftp glob: escaped slash+quote sftp glob: quoted slash+quote sftp glob: escaped space sftp glob: quoted space ok sftp glob ==== t-sftp-perm ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/sftp-perm.sh sftp permissions: read-only upload sftp permissions: read-only setstat sftp permissions: read-only rm sftp permissions: read-only mkdir sftp permissions: read-only rmdir sftp permissions: read-only posix-rename sftp permissions: read-only oldrename sftp permissions: read-only symlink sftp permissions: read-only hardlink sftp permissions: explicit open sftp permissions: explicit read sftp permissions: explicit write sftp permissions: explicit lstat sftp permissions: explicit opendir sftp permissions: explicit readdir sftp permissions: explicit setstat sftp permissions: explicit remove sftp permissions: explicit mkdir sftp permissions: explicit rmdir sftp permissions: explicit rename sftp permissions: explicit symlink sftp permissions: explicit hardlink sftp permissions: explicit statvfs ok sftp permissions ==== t-sftp-uri ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/sftp-uri.sh sftp-uri: non-interactive fetch to local file sftp-uri: non-interactive fetch to local dir sftp-uri: put to remote directory (trailing slash) sftp-uri: put to remote directory (no slash) ok sftp-uri ==== t-reconfigure ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/reconfigure.sh ok simple connect after reconfigure ==== t-dynamic-forward ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/dynamic-forward.sh test -D forwarding FATAL: forwarding ssh process unresponsive FATAL: forwarding ssh process did not respond to close *** Error 1 in . (Makefile:230 't-dynamic-forward') FAILED ==== t-forwarding ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/forwarding.sh ok local and remote forwarding ==== t-multiplex ==== env SUDO="" "MALLOC_OPTIONS=CFGJRSUX" sh /usr/src/regress/usr.bin/ssh/test-exec.sh /usr/src/regress/usr.bin/ssh/obj /usr/src/regress/usr.bin/ssh/multiplex.sh test connection multiplexing: setenv test connection multiplexing: envpass test connection multiplexing: transfer test connection multiplexing: transfer -Oproxy test connection multiplexing: forward nc: Address already in use NOTERM usr.bin/ssh Test running too long, aborted.