From: dtucker Date: Sun, 2 Dec 2007 12:05:09 +0000 (+0000) Subject: - dtucker@cvs.openbsd.org 2007/10/29 06:51:59 X-Git-Tag: V_4_9_P1~105 X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/commitdiff_plain/d349e4bd6f42552e873ed4992e58e9d4fb0288e1 - dtucker@cvs.openbsd.org 2007/10/29 06:51:59 [ssh_config.5] ProxyCommand and LocalCommand use the user's shell, not /bin/sh; ok djm@ --- diff --git a/ChangeLog b/ChangeLog index 09f076eb..f11b8592 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,9 @@ Send config block back to slave for invalid users too so options set by a Match block (eg Banner) behave the same for non-existent users. Found by and ok djm@ + - dtucker@cvs.openbsd.org 2007/10/29 06:51:59 + [ssh_config.5] + ProxyCommand and LocalCommand use the user's shell, not /bin/sh; ok djm@ 20071030 - (djm) OpenBSD CVS Sync diff --git a/ssh_config.5 b/ssh_config.5 index e9414d72..4a06b933 100644 --- a/ssh_config.5 +++ b/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.103 2007/09/21 03:05:23 djm Exp $ +.\" $OpenBSD: ssh_config.5,v 1.104 2007/10/29 06:51:59 dtucker Exp $ .Dd $Mdocdate$ .Dt SSH_CONFIG 5 .Os @@ -599,7 +599,7 @@ and Specifies a command to execute on the local machine after successfully connecting to the server. The command string extends to the end of the line, and is executed with -.Pa /bin/sh . +the user's shell . This directive is ignored unless .Cm PermitLocalCommand has been enabled. @@ -723,7 +723,7 @@ if version 2 is not available. Specifies the command to use to connect to the server. The command string extends to the end of the line, and is executed with -.Pa /bin/sh . +the user's shell . In the command string, .Ql %h will be substituted by the host name to