mirror of
https://github.com/openssh/libopenssh
synced 2026-04-17 10:16:53 +00:00
example usage: % test -f /tmp/hk2 || ssh-keygen -N '' -t ecdsa -f /tmp/hk2 % ssh-keyscan -t ecdsa 127.0.0.1 | sed 's/^[^ ]* //' > /tmp/hk.pub % ./ssh-proxy/obj/ssh-proxy -f -S /tmp/hk2 -C /tmp/hk.pub -L 127.0.0.1:12345:127.0.0.1:22 -d % ssh -o hostkeyalgorithms'='ecdsa-sha2-nistp256 -o hostkeyalias'='egal2 -v 127.0.0.1 -p 12345
18 lines
308 B
Makefile
18 lines
308 B
Makefile
# $OpenBSD: Makefile,v 1.24 2010/02/09 08:55:31 markus Exp $
|
|
|
|
.PATH: ${.CURDIR}/..
|
|
|
|
PROG= ssh-proxy
|
|
|
|
BINDIR= /usr/sbin
|
|
NOMAN= yes
|
|
|
|
SRCS= ssh-proxy.c readconf.c \
|
|
kexdhs.c kexgexs.c kexecdhs.c \
|
|
roaming_dummy.c
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
DPADD+= ${LIBCRYPTO} ${LIBZ} ${LIBEVENT}
|
|
LDADD+= -lcrypto -lz -levent
|