version 1.596, 2023/10/11 23:23:58 |
version 1.597, 2023/10/12 02:18:18 |
|
|
free(cinfo->remuser); |
free(cinfo->remuser); |
free(cinfo->homedir); |
free(cinfo->homedir); |
free(cinfo->locuser); |
free(cinfo->locuser); |
|
free(cinfo->jmphost); |
free(cinfo); |
free(cinfo); |
} |
} |
|
|
|
|
cinfo->keyalias = xstrdup(options.host_key_alias ? |
cinfo->keyalias = xstrdup(options.host_key_alias ? |
options.host_key_alias : options.host_arg); |
options.host_key_alias : options.host_arg); |
cinfo->conn_hash_hex = ssh_connection_hash(cinfo->thishost, host, |
cinfo->conn_hash_hex = ssh_connection_hash(cinfo->thishost, host, |
cinfo->portstr, options.user); |
cinfo->portstr, options.user, options.jump_host); |
cinfo->host_arg = xstrdup(options.host_arg); |
cinfo->host_arg = xstrdup(options.host_arg); |
cinfo->remhost = xstrdup(host); |
cinfo->remhost = xstrdup(host); |
cinfo->remuser = xstrdup(options.user); |
cinfo->remuser = xstrdup(options.user); |
cinfo->homedir = xstrdup(pw->pw_dir); |
cinfo->homedir = xstrdup(pw->pw_dir); |
cinfo->locuser = xstrdup(pw->pw_name); |
cinfo->locuser = xstrdup(pw->pw_name); |
|
cinfo->jmphost = xstrdup(options.jump_host == NULL ? |
|
"" : options.jump_host); |
|
|
/* |
/* |
* Expand tokens in arguments. NB. LocalCommand is expanded later, |
* Expand tokens in arguments. NB. LocalCommand is expanded later, |