=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/readconf.c,v retrieving revision 1.211 retrieving revision 1.212 diff -u -r1.211 -r1.212 --- src/usr.bin/ssh/readconf.c 2013/10/23 03:03:07 1.211 +++ src/usr.bin/ssh/readconf.c 2013/10/23 03:05:19 1.212 @@ -1,4 +1,4 @@ -/* $OpenBSD: readconf.c,v 1.211 2013/10/23 03:03:07 djm Exp $ */ +/* $OpenBSD: readconf.c,v 1.212 2013/10/23 03:05:19 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -464,6 +464,7 @@ port = options->port <= 0 ? default_ssh_port() : options->port; ruser = options->user == NULL ? pw->pw_name : options->user; if (options->hostname != NULL) { + /* NB. Please keep in sync with ssh.c:main() */ host = percent_expand(options->hostname, "h", host_arg, (char *)NULL); } else