Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

Re: [PATCH 06/12] connect: Fix custom ports with plink (Putty's ssh)

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:53

Johannes Sixt [off-list ref] writes:
What about installing a wrapper script, plinkssh, that does this:

#!/bin/bash

if test "$1" = -p; then
	port="-P $2"
	shift; shift
fi

exec plink $port "$@"

and require plink users to set GIT_SSH=plinkssh?
That's quite a nice solution with absolute minimum impact.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help