summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2010-04-16 15:54:19 +1000
committerDamien Miller <djm@mindrot.org>2010-04-16 15:54:19 +1000
commitb1b17047e39b88f640a6e55141cd1073ee6e55e4 (patch)
tree72f2cd2a74e45dede6c78486f5aef57f54ce6817 /ssh_config.5
parent601a23c02cb1612e9596f4ce7bfa261525363c5d (diff)
downloadopenssh-git-b1b17047e39b88f640a6e55141cd1073ee6e55e4.tar.gz
- djm@cvs.openbsd.org 2010/04/14 22:27:42
[ssh_config.5 sshconnect.c] expand %r => remote username in ssh_config:ProxyCommand; ok deraadt markus
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.512
1 files changed, 7 insertions, 5 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index 2945e48b..3f0f537a 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -34,8 +34,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.131 2010/03/27 14:26:55 jmc Exp $
-.Dd $Mdocdate: March 27 2010 $
+.\" $OpenBSD: ssh_config.5,v 1.132 2010/04/14 22:27:42 djm Exp $
+.Dd $Mdocdate: April 14 2010 $
.Dt SSH_CONFIG 5
.Os
.Sh NAME
@@ -759,12 +759,14 @@ 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.
-In the command string,
+In the command string, any occurance of
.Ql %h
will be substituted by the host name to
-connect and
+connect,
.Ql %p
-by the port.
+by the port and
+.Ql %u
+by the remote user name.
The command can be basically anything,
and should read from its standard input and write to its standard output.
It should eventually connect an