search for: host_key_aliasp

Displaying 1 result from an estimated 1 matches for "host_key_aliasp".

Did you mean: host_key_alias
2004 Sep 08
0
[PATCH]Extending user@host syntax
...ctl]\n" +" [user@]hostname[%%port][,host_key_alias] [command]\n" ); exit(1); } @@ -176,7 +177,7 @@ int i, opt, exit_status; u_short fwd_port, fwd_host_port; char sfwd_port[6], sfwd_host_port[6]; - - char *p, *cp, *line, buf[256]; + char *p, *cp, *line, buf[256], *host_key_aliasp; struct stat st; struct passwd *pw; int dummy; @@ -474,6 +475,28 @@ host = ++cp; } else host = *av; + + host_key_aliasp = 0; + if (strrchr(host, '%')) { + cp = strrchr(host, '%'); + *cp++ = '\0'; + if (strrchr(cp, ',')) { + host_key_aliasp...