summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
authordjm <djm>2010-04-17 22:08:20 +0000
committerdjm <djm>2010-04-17 22:08:20 +0000
commit2e5aa96cef21f63708e318aa4e2729c18db2cad9 (patch)
tree407c37f114401262c9fde226a876868e8a8c75ce /sshconnect.c
parent440bcbca8d7784a84735fa1e68449837eb140ffa (diff)
downloadopenssh-2e5aa96cef21f63708e318aa4e2729c18db2cad9.tar.gz
- djm@cvs.openbsd.org 2010/04/16 21:14:27
[sshconnect.c] oops, %r => remote username, not %u
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 3c8b8c7c..f55beffe 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.223 2010/04/16 01:47:26 djm Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.224 2010/04/16 21:14:27 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -102,7 +102,7 @@ ssh_proxy_connect(const char *host, u_short port, const char *proxy_command)
*/
xasprintf(&tmp, "exec %s", proxy_command);
command_string = percent_expand(tmp, "h", host, "p", strport,
- "u", options.user, (char *)NULL);
+ "r", options.user, (char *)NULL);
xfree(tmp);
/* Create pipes for communicating with the proxy. */