Lines Matching +full:scp +full:- +full:core
3 tests: prep file-tests t-exec unit
8 file-tests: $(REGRESS_TARGETS)
11 interop interop-tests: t-exec-interop
13 extra extra-tests: t-extra
16 test "x${USE_VALGRIND}" = "x" || mkdir -p $(OBJ)/valgrind-out
19 for F in $(CLEANFILES); do rm -f $(OBJ)$$F; done
20 rm -rf $(OBJ).putty
21 rm -rf $(OBJ).dropbear
26 proxy-connect \
27 sshfp-connect \
28 connect-privsep \
29 connect-uri \
30 proto-version \
31 proto-mismatch \
32 exit-status \
33 exit-status-signal \
39 stderr-data \
40 stderr-after-eof \
41 broken-pipe \
42 try-ciphers \
43 yes-head \
44 login-timeout \
46 agent-getpeereid \
47 agent-timeout \
48 agent-ptrace \
49 agent-subprocess \
51 keygen-change \
52 keygen-comment \
53 keygen-convert \
54 keygen-knownhosts \
55 keygen-moduli \
56 keygen-sshfp \
57 key-options \
58 scp \
60 scp-uri \
62 sftp-chroot \
63 sftp-cmds \
64 sftp-badcmds \
65 sftp-batch \
66 sftp-glob \
67 sftp-perm \
68 sftp-uri \
70 dynamic-forward \
86 cert-hostkey \
87 cert-userkey \
88 host-expand \
89 keys-command \
90 forward-control \
94 limit-keytype \
95 hostkey-agent \
96 hostkey-rotate \
97 principals-command \
98 cert-file \
101 allow-deny-users \
105 knownhosts-command \
106 agent-restrict \
108 channel-timeout \
109 connection-timeout \
110 match-subsystem \
111 agent-pkcs11-restrict \
112 agent-pkcs11-cert
114 INTEROP_TESTS= putty-transfer putty-ciphers putty-kex conch-ciphers
115 INTEROP_TESTS+= dropbear-ciphers dropbear-kex
116 #INTEROP_TESTS+=ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp
118 EXTRA_TESTS= agent-pkcs11
119 #EXTRA_TESTS+= cipher-speed
122 CLEANFILES= *.core actual agent-key.* authorized_keys_${USERNAME} \
126 copy.1 copy.2 data ed25519-agent ed25519-agent* \
127 ed25519-agent.pub ed25519 ed25519.pub empty.in \
128 expect failed-regress.log failed-ssh.log failed-sshd.log \
129 hkr.* host.ecdsa-sha2-nistp256 host.ecdsa-sha2-nistp384 \
130 host.ecdsa-sha2-nistp521 host.ssh-dss host.ssh-ed25519 \
131 host.ssh-rsa host_ca_key* host_krl_* host_revoked_* key.* \
132 key.dsa-* key.ecdsa-* key.ed25519-512 \
133 key.ed25519-512.pub key.rsa-* keys-command-args kh.* askpass \
134 known_hosts known_hosts-cert known_hosts.* krl-* ls.copy \
137 revoked-* rsa rsa-agent rsa-agent.pub rsa.pub rsa_ssh2_cr.prv \
138 rsa_ssh2_crnl.prv scp-ssh-wrapper.exe \
139 scp-ssh-wrapper.scp setuid-allowed sftp-server.log \
140 sftp-server.sh sftp.log ssh-log-wrapper.sh ssh.log \
141 ssh-agent.log ssh-add.log slow-sftp-server.sh \
142 ssh-rsa_oldfmt knownhosts_command \
154 TEST_SSH_SSHKEYGEN?=ssh-keygen
156 CPPFLAGS=-I..
159 set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q "^ssh-rsa" ; then \
160 ${TEST_SSH_SSHKEYGEN} -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv ; \
162 ${TEST_SSH_SSHKEYGEN} -if ${.OBJDIR}/rsa_ssh2_cr.prv | diff - ${.CURDIR}/rsa_openssh.prv ; \
164 ${TEST_SSH_SSHKEYGEN} -if ${.OBJDIR}/rsa_ssh2_crnl.prv | diff - ${.CURDIR}/rsa_openssh.prv ; \
168 set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q "^ssh-rsa" ; then \
171 ${TEST_SSH_SSHKEYGEN} -yf $(OBJ)/t2.out | diff - ${.CURDIR}/rsa_openssh.pub ; \
175 set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q "^ssh-rsa" ; then \
176 ${TEST_SSH_SSHKEYGEN} -ef ${.CURDIR}/rsa_openssh.pub >$(OBJ)/t3.out ; \
177 ${TEST_SSH_SSHKEYGEN} -if $(OBJ)/t3.out | diff - ${.CURDIR}/rsa_openssh.pub ; \
181 set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q "^ssh-rsa" ; then \
182 ${TEST_SSH_SSHKEYGEN} -E md5 -lf ${.CURDIR}/rsa_openssh.pub |\
183 awk '{print $$2}' | diff - ${.CURDIR}/t4.ok ; \
187 set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q "^ssh-rsa" ; then \
188 ${TEST_SSH_SSHKEYGEN} -Bf ${.CURDIR}/rsa_openssh.pub |\
189 awk '{print $$2}' | diff - ${.CURDIR}/t5.ok ; \
192 set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q "^ssh-dss" ; then \
193 ${TEST_SSH_SSHKEYGEN} -if ${.CURDIR}/dsa_ssh2.prv > $(OBJ)/t6.out1 ; \
194 ${TEST_SSH_SSHKEYGEN} -if ${.CURDIR}/dsa_ssh2.pub > $(OBJ)/t6.out2 ; \
196 ${TEST_SSH_SSHKEYGEN} -yf $(OBJ)/t6.out1 | diff - $(OBJ)/t6.out2 ; \
200 set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q "^ssh-dss" ; then \
201 ${TEST_SSH_SSHKEYGEN} -q -t rsa -N '' -f $@ ; \
205 set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q "^ssh-dss" ; then \
206 ${TEST_SSH_SSHKEYGEN} -lf $(OBJ)/t7.out > /dev/null ; \
207 ${TEST_SSH_SSHKEYGEN} -Bf $(OBJ)/t7.out > /dev/null ; \
211 set -xe ; if ssh -Q key | grep -q "^ssh-dss" ; then \
212 ${TEST_SSH_SSHKEYGEN} -q -t dsa -N '' -f $@ ; \
216 set -xe ; if ssh -Q key | grep -q "^ssh-dss" ; then \
217 ${TEST_SSH_SSHKEYGEN} -lf $(OBJ)/t8.out > /dev/null ; \
218 ${TEST_SSH_SSHKEYGEN} -Bf $(OBJ)/t8.out > /dev/null ; \
222 ! ${TEST_SSH_SSH} -Q key-plain | grep ecdsa >/dev/null || \
223 ${TEST_SSH_SSHKEYGEN} -q -t ecdsa -N '' -f $@
226 ! ${TEST_SSH_SSH} -Q key-plain | grep ecdsa >/dev/null || \
227 ${TEST_SSH_SSHKEYGEN} -lf $(OBJ)/t9.out > /dev/null
228 ! ${TEST_SSH_SSH} -Q key-plain | grep ecdsa >/dev/null || \
229 ${TEST_SSH_SSHKEYGEN} -Bf $(OBJ)/t9.out > /dev/null
233 ${TEST_SSH_SSHKEYGEN} -q -t ed25519 -N '' -f $@
236 ${TEST_SSH_SSHKEYGEN} -lf $(OBJ)/t10.out > /dev/null
237 ${TEST_SSH_SSHKEYGEN} -Bf $(OBJ)/t10.out > /dev/null
240 set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q "^ssh-dss" ; then \
241 ${TEST_SSH_SSHKEYGEN} -E sha256 -lf ${.CURDIR}/rsa_openssh.pub |\
242 awk '{print $$2}' | diff - ${.CURDIR}/t11.ok ; \
246 ${TEST_SSH_SSHKEYGEN} -q -t ed25519 -N '' -C 'test-comment-1234' -f $@
249 ${TEST_SSH_SSHKEYGEN} -lf $(OBJ)/t12.out.pub | grep test-comment-1234 >/dev/null
251 t-exec: ${LTESTS:=.sh}
253 _started=""; test -z "${LTESTS_FROM}" && _started=1 ;\
255 if [ -z "$$_started" ] ; then \
268 …(env SUDO="${SUDO}" TEST_ENV=${TEST_ENV} ${TEST_SHELL} ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDI…
274 t-exec-interop: ${INTEROP_TESTS:=.sh}
278 …(env SUDO="${SUDO}" TEST_ENV=${TEST_ENV} ${TEST_SHELL} ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDI…
281 t-extra: ${EXTRA_TESTS:=.sh}
285 …(env SUDO="${SUDO}" TEST_ENV=${TEST_ENV} ${TEST_SHELL} ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDI…
291 # Unit tests, built by top-level Makefile
293 set -e ; if test -z "${SKIP_UNIT}" ; then \
296 V=${.CURDIR}/valgrind-unit.sh ; \
299 -d ${.CURDIR}/unittests/sshkey/testdata ; \
301 -d ${.CURDIR}/unittests/sshsig/testdata ; \
303 -d ${.CURDIR}/unittests/authopt/testdata ; \
308 -d ${.CURDIR}/unittests/hostkeys/testdata ; \