Files
libopenssh/ssh/ssh-proxy.txt
Markus Friedl 530367aafa Move the key exchange state and other global variables into
a per connection state struct, add a initial API that could
be used for a proxy (see ssh-proxy.c)

Joint work with Matthias Pitzl, Stefan Rinkes, Bernhard Zaun and
Arne Becker.
2012-01-17 14:32:46 +01:00

13 lines
496 B
Plaintext

debugging client:
% ./ssh-proxy/obj/ssh-proxy nc -vvv 127.0.0.1 22
% ssh-keyscan -t ecdsa 127.0.0.1 | sed 's/^[^ ]* //' > /tmp/hk.pub
% ./ssh-proxy/obj/ssh-proxy -h /tmp/hk.pub nc -vvv 127.0.0.1 22
debugging server:
% ./ssh/obj/ssh -o 'proxycommand ./ssh-proxy/obj/ssh-proxy -s' ignore
with hostkey:
% ssh-keygen -t ecdsa -f /tmp/hk2
% ./ssh/obj/ssh -o hostkeyalgorithms=ecdsa-sha2-nistp256 -o hostkeyalias=foo1234 -o 'proxycommand ./ssh-proxy/obj/ssh-proxy -h /tmp/hk2 -s' ignore