Lines Matching refs:host
169 do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout, int argc) in do_cmd() argument
176 ssh_program, host, in do_cmd()
201 addargs(&args, "%s", host); in do_cmd()
225 addargs(&args, "%s", host); in do_cmd()
457 char *bp, *host, *src, *suser, *thost, *tuser, *arg; in toremote() local
498 host = strrchr(argv[i], '@'); in toremote()
500 if (host) { in toremote()
501 *host++ = 0; in toremote()
502 host = cleanhostname(host); in toremote()
511 host = cleanhostname(argv[i]); in toremote()
513 addargs(&alist, "%s", host); in toremote()
526 host = cleanhostname(thost); in toremote()
527 if (do_cmd(host, tuser, bp, &remin, in toremote()
543 char *bp, *host, *src, *suser; in tolocal() local
566 if ((host = strrchr(argv[i], '@')) == NULL) { in tolocal()
567 host = argv[i]; in tolocal()
570 *host++ = 0; in tolocal()
575 host = cleanhostname(host); in tolocal()
579 if (do_cmd(host, suser, bp, &remin, &remout, argc) < 0) { in tolocal()