diff options
author | Matt Goins <mjgoins@openflows.com> | 2009-01-31 23:01:59 -0500 |
---|---|---|
committer | Matt Goins <mjgoins@openflows.com> | 2009-01-31 23:01:59 -0500 |
commit | c9f3967acec191bd2ec17bfe60359809bf214d0e (patch) | |
tree | f34c83f9a3bee9fbc4f5f83101e1fa82b2562ae0 /src/subcommands/m/ssh_proxycommand | |
parent | 67ae32b13542bda0da45321db164da407fe76860 (diff) | |
parent | 3ed4b369c782b96cfa5b067375585e0e757059f5 (diff) |
Merge commit 'dkg/master'
Diffstat (limited to 'src/subcommands/m/ssh_proxycommand')
-rw-r--r-- | src/subcommands/m/ssh_proxycommand | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/src/subcommands/m/ssh_proxycommand b/src/subcommands/m/ssh_proxycommand index 56a266e..7239c7a 100644 --- a/src/subcommands/m/ssh_proxycommand +++ b/src/subcommands/m/ssh_proxycommand @@ -15,27 +15,10 @@ # established. Can be added to ~/.ssh/config as follows: # ProxyCommand monkeysphere-ssh-proxycommand %h %p -######################################################################## -PGRM=$(basename $0) - -SYSSHAREDIR=${MONKEYSPHERE_SYSSHAREDIR:-"/usr/share/monkeysphere"} -export SYSSHAREDIR -. "${SYSSHAREDIR}/common" || exit 1 - -######################################################################## -# FUNCTIONS -######################################################################## - -usage() { - cat <<EOF >&2 -usage: ssh -o ProxyCommand="$(basename $0) %h %p" ... -EOF -} - -log() { - echo "$@" >&2 -} +ssh_proxycommand() { +# "marginal case" ouput in the case that there is not a full +# validation path to the host output_no_valid_key() { local sshKeyOffered local userID @@ -250,3 +233,5 @@ if [ -z "$NO_CONNECT" ] ; then exit 255 fi fi + +} |