summaryrefslogtreecommitdiff
path: root/man/man1/monkeysphere-ssh-proxycommand.1
blob: c4196f2b4afbd392272e8dffa40856ec6ebcb9a9 (plain)
  1. .TH MONKEYSPHERE-SSH-PROXYCOMMAND "1" "June 2008" "monkeysphere 0.1" "User Commands"
  2. .SH NAME
  3. monkeysphere-ssh-proxycommand \- MonkeySphere ssh ProxyCommand script
  4. .SH DESCRIPTION
  5. \fBmonkeysphere-ssh-proxy\fP is an ssh proxy command that can be used
  6. to trigger a monkeysphere update of the known_hosts file for the hosts
  7. that are being connected to. It is meant to be run as an ssh
  8. ProxyCommand. This can either be done by specifying the proxy command
  9. on the command line:
  10. .B ssh -o ProxyCommand="monkeysphere-ssh-proxycommand %h %p" ...
  11. or by adding the following line to your ~/.ssh/config script:
  12. .B ProxyCommand monkeysphere-ssh-proxycommand %h %p
  13. The script can easily be incorporated into other ProxyCommand scripts
  14. by calling it with the "--no-connect" option, ie:
  15. .B monkeysphere-ssh-proxycommand --no-connect "$HOST" "$PORT"
  16. This will run everything but will not exec netcat to make the tcp
  17. connection to the host.
  18. .SH KEYSERVER CHECKING
  19. The proxy command has a fairly nuanced policy for when keyservers are
  20. queried when processing host. If the host userID is not found in
  21. either the user's keyring or in the known_hosts file, then the
  22. keyserver is queried for the host userID. If the host userID is found
  23. in the user's keyring, then the keyserver is not checked. This is
  24. because... If the host userID is not found in the user's keyring, but
  25. the host is listed in the known_hosts file, then defered check is
  26. scheduled.
  27. .SH ENVIRONMENT VARIABLES
  28. .TP
  29. KEYSERVER The keyserver to query.
  30. .SH AUTHOR
  31. Written by Jameson Rollins <jrollins@fifthhorseman.net>
  32. .SH SEE ALSO
  33. .BR monkeypshere (1),
  34. .BR ssh (1),
  35. .BR gpg (1)