More cleanup:
[monkeysphere.git] / man / man1 / monkeysphere-ssh-proxycommand.1
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 .PD
5 .SH DESCRIPTION
6 .PP
7 \fBmonkeysphere-ssh-proxy\fP is an ssh proxy command that can be used
8 to trigger a monkeysphere update of the known_hosts file for the hosts
9 that are being connected to.  It is meant to be run as an ssh
10 ProxyCommand.  This can either be done by specifying the proxy command
11 on the command line:
12
13 .B ssh -o ProxyCommand="monkeysphere-ssh-proxycommand %h %p" ...
14
15 or by adding the following line to your ~/.ssh/config script:
16
17 .B ProxyCommand monkeysphere-ssh-proxycommand %h %p
18
19 The script is very simple, and can easily be incorporated into other
20 ProxyCommand scripts.  All it does is first runs
21
22 .B monkeysphere update-known-hosts HOST
23
24 and then
25
26 .B exec nc HOST PORT
27
28 Run the following command for more info:
29
30 .B less $(which monkeysphere-ssh-proxycommand)
31 .PD
32 .SH AUTHOR
33 Written by Jameson Rollins <jrollins@fifthhorseman.net>
34 .PD
35 .SH SEE ALSO
36 .BR monkeypshere (1),
37 .BR ssh (1),
38 .BR gpg (1)