Lines Matching refs:suser
1040 char *suser = NULL, *host = NULL, *src = NULL; in toremote() local
1070 free(suser); in toremote()
1073 r = parse_scp_uri(argv[i], &suser, &host, &sport, &src); in toremote()
1080 parse_user_host_path(argv[i], &suser, &host, &src); in toremote()
1082 if (suser != NULL && !okname(suser)) { in toremote()
1107 conn2 = do_sftp_connect(host, suser, in toremote()
1130 if (do_cmd(ssh_program, host, suser, sport, 0, in toremote()
1174 if (suser) { in toremote()
1176 addargs(&alist, "%s", suser); in toremote()
1229 free(suser); in toremote()
1237 char *bp, *host = NULL, *src = NULL, *suser = NULL; in tolocal() local
1246 free(suser); in tolocal()
1249 r = parse_scp_uri(argv[i], &suser, &host, &sport, &src); in tolocal()
1256 parse_user_host_path(argv[i], &suser, &host, &src); in tolocal()
1257 if (suser != NULL && !okname(suser)) { in tolocal()
1277 conn = do_sftp_connect(host, suser, sport, in tolocal()
1297 if (do_cmd(ssh_program, host, suser, sport, 0, bp, in tolocal()
1308 free(suser); in tolocal()