diff options
author | djm@openbsd.org <djm@openbsd.org> | 2016-07-15 00:24:30 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-07-15 14:20:10 +1000 |
commit | ed877ef653847d056bb433975d731b7a1132a979 (patch) | |
tree | 855230b944a0fc2eebdaa4c037f911e28ff21e17 /misc.h | |
parent | 5c02dd126206a26785379e80f2d3848e4470b711 (diff) |
upstream commit
Add a ProxyJump ssh_config(5) option and corresponding -J
ssh(1) command-line flag to allow simplified indirection through a SSH
bastion or "jump host".
These options construct a proxy command that connects to the
specified jump host(s) (more than one may be specified) and uses
port-forwarding to establish a connection to the next destination.
This codifies the safest way of indirecting connections through SSH
servers and makes it easy to use.
ok markus@
Upstream-ID: fa899cb8b26d889da8f142eb9774c1ea36b04397
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.h,v 1.56 2016/04/06 06:42:17 djm Exp $ */ | 1 | /* $OpenBSD: misc.h,v 1.57 2016/07/15 00:24:30 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -49,6 +49,7 @@ char *put_host_port(const char *, u_short); | |||
49 | char *hpdelim(char **); | 49 | char *hpdelim(char **); |
50 | char *cleanhostname(char *); | 50 | char *cleanhostname(char *); |
51 | char *colon(char *); | 51 | char *colon(char *); |
52 | int parse_user_host_port(const char *, char **, char **, int *); | ||
52 | long convtime(const char *); | 53 | long convtime(const char *); |
53 | char *tilde_expand_filename(const char *, uid_t); | 54 | char *tilde_expand_filename(const char *, uid_t); |
54 | char *percent_expand(const char *, ...) __attribute__((__sentinel__)); | 55 | char *percent_expand(const char *, ...) __attribute__((__sentinel__)); |