From 873b5c7a668e3e3f9eaa118d792b018886a61ed7 Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Thu, 8 Dec 2005 14:59:45 +0000 Subject: make `!command' a little clearer; ok reyk --- usr.bin/ssh/ssh.1 | 5 ++--- usr.bin/ssh/ssh_config.5 | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'usr.bin/ssh') diff --git a/usr.bin/ssh/ssh.1 b/usr.bin/ssh/ssh.1 index 2461423194a..9f89b973052 100644 --- a/usr.bin/ssh/ssh.1 +++ b/usr.bin/ssh/ssh.1 @@ -34,7 +34,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: ssh.1,v 1.216 2005/12/07 10:52:13 jmc Exp $ +.\" $OpenBSD: ssh.1,v 1.217 2005/12/08 14:59:44 jmc Exp $ .Dd September 25, 1999 .Dt SSH 1 .Os @@ -304,8 +304,7 @@ options (see below). It also allows the cancellation of existing remote port-forwardings using .Fl KR Ar hostport . -The -.Ic ! Ar command +.Ic !\& Ns Ar command allows the user to execute a local command if the .Ic PermitLocalCommand option is enabled in diff --git a/usr.bin/ssh/ssh_config.5 b/usr.bin/ssh/ssh_config.5 index d1930baab2e..440a6d71df8 100644 --- a/usr.bin/ssh/ssh_config.5 +++ b/usr.bin/ssh/ssh_config.5 @@ -34,7 +34,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: ssh_config.5,v 1.65 2005/12/06 22:38:27 reyk Exp $ +.\" $OpenBSD: ssh_config.5,v 1.66 2005/12/08 14:59:44 jmc Exp $ .Dd September 25, 1999 .Dt SSH_CONFIG 5 .Os @@ -640,7 +640,7 @@ Default is 22. Allow local command execution via the .Ic LocalCommand option or using the -.Ic ! Ar command +.Ic !\& Ns Ar command escape sequence in .Xr ssh 1 . The argument must be -- cgit v1.2.3