- djm@cvs.openbsd.org 2010/04/16 21:14:27

[sshconnect.c]
     oops, %r => remote username, not %u
This commit is contained in:
Damien Miller 2010-04-18 08:08:20 +10:00
parent 1f181425e9
commit c617aa9ff5
2 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,9 @@
- jmc@cvs.openbsd.org 2010/04/16 06:47:04
[ssh-keygen.1 ssh-keygen.c]
tweak previous; ok djm
- djm@cvs.openbsd.org 2010/04/16 21:14:27
[sshconnect.c]
oops, %r => remote username, not %u
20100416
- (djm) Release openssh-5.5p1

View File

@ -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. */