summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-09-13 04:27:35 +0000
committerDamien Miller <djm@mindrot.org>2019-09-13 14:28:44 +1000
commitfbe24b142915331ceb2a3a76be3dc5b6d204fddf (patch)
tree6adb5c456a64cdd74ca004a6ec8633cc53f4eac9 /ssh.c
parent2ce1d11600e13bee0667d6b717ffcc18a057b821 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh.c b/ssh.c
index cb321bcf3..ee51823cd 100644
--- a/ssh.c
+++ b/ssh.c
@@ -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);