diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-09-13 04:27:35 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-09-13 14:28:44 +1000 |
commit | fbe24b142915331ceb2a3a76be3dc5b6d204fddf (patch) | |
tree | 6adb5c456a64cdd74ca004a6ec8633cc53f4eac9 /ssh.c | |
parent | 2ce1d11600e13bee0667d6b717ffcc18a057b821 (diff) |
upstream: allow %n to be expanded in ProxyCommand strings
From Zachary Harmany via github.com/openssh/openssh-portable/pull/118
ok dtucker@
OpenBSD-Commit-ID: 7eebf1b7695f50c66d42053d352a4db9e8fb84b6
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.c,v 1.506 2019/09/06 14:45:34 naddy Exp $ */ | 1 | /* $OpenBSD: ssh.c,v 1.507 2019/09/13 04:27:35 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1369,7 +1369,7 @@ main(int ac, char **av) | |||
1369 | timeout_ms = options.connection_timeout * 1000; | 1369 | timeout_ms = options.connection_timeout * 1000; |
1370 | 1370 | ||
1371 | /* Open a connection to the remote host. */ | 1371 | /* Open a connection to the remote host. */ |
1372 | if (ssh_connect(ssh, host, addrs, &hostaddr, options.port, | 1372 | if (ssh_connect(ssh, host_arg, host, addrs, &hostaddr, options.port, |
1373 | options.address_family, options.connection_attempts, | 1373 | options.address_family, options.connection_attempts, |
1374 | &timeout_ms, options.tcp_keep_alive) != 0) | 1374 | &timeout_ms, options.tcp_keep_alive) != 0) |
1375 | exit(255); | 1375 | exit(255); |