summaryrefslogtreecommitdiff
path: root/man/man1/monkeysphere-ssh-proxycommand.1
blob: 5fabb91af5dce22ac09e4601549eb63bcac561d1 (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 is very simple, and can easily be incorporated into other
  14. ProxyCommand scripts. It first tests to see if the host is in the
  15. known_hosts file. If it's not, the CHECK_KEYSERVER variable is set to
  16. true and "update-known_hosts" is run for the host to check for a host
  17. key for that host. If the host is found in the known_hosts file,
  18. CHECK_KEYSERVER is set to false and "update-known_hosts" is run to
  19. update from the local keychain.
  20. Run the following command for more info:
  21. .B less $(which monkeysphere-ssh-proxycommand)
  22. .SH AUTHOR
  23. Written by Jameson Rollins <jrollins@fifthhorseman.net>
  24. .SH SEE ALSO
  25. .BR monkeypshere (1),
  26. .BR ssh (1),
  27. .BR gpg (1)