diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2014-07-07 08:19:13 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2014-07-07 08:19:13 +0000 |
commit | fdde723f789a176d8eb50f810fc60ba359c50e04 (patch) | |
tree | 97ed640a87e2e6893516f4db60ce667d327bb6c0 | |
parent | bffcfef59b9f7674bdc081cf6ab895cfd072198a (diff) |
mention that ProxyCommand is executed using shell "exec" to avoid
a lingering process; bz#1977
-rw-r--r-- | usr.bin/ssh/ssh_config.5 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.bin/ssh/ssh_config.5 b/usr.bin/ssh/ssh_config.5 index 81b20aa0942..71b9bdcc50a 100644 --- a/usr.bin/ssh/ssh_config.5 +++ b/usr.bin/ssh/ssh_config.5 @@ -33,8 +33,8 @@ .\" (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.189 2014/07/03 07:45:27 jmc Exp $ -.Dd $Mdocdate: July 3 2014 $ +.\" $OpenBSD: ssh_config.5,v 1.190 2014/07/07 08:19:12 djm Exp $ +.Dd $Mdocdate: July 7 2014 $ .Dt SSH_CONFIG 5 .Os .Sh NAME @@ -1086,8 +1086,11 @@ The default is .It Cm ProxyCommand Specifies the command to use to connect to the server. The command -string extends to the end of the line, and is executed with -the user's shell. +string extends to the end of the line, and is executed +using the user's shell +.Ql exec +directive to avoid a lingering shell process. +.Pp In the command string, any occurrence of .Ql %h will be substituted by the host name to |