summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2010-04-16 21:14:28 +0000
committerDamien Miller <djm@cvs.openbsd.org>2010-04-16 21:14:28 +0000
commit7a575dbb0482b50749d357fd72b9840589950fa3 (patch)
tree110aaec7ab8e46b206d35235e400d9c10f14593a /usr.bin
parent2c6995eadeecf73a24d026fa65b1a2b8befd9e23 (diff)
oops, %r => remote username, not %u
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c
index 12d9803df0b..8be459c1f89 100644
--- a/usr.bin/ssh/sshconnect.c
+++ b/usr.bin/ssh/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
@@ -93,7 +93,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. */