mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-05 04:40:31 +09:00
Log Proxycommand command executed
This commit is contained in:
@@ -692,6 +692,7 @@ int ssh_socket_connect_proxycommand(ssh_socket s, const char *command){
|
||||
return SSH_ERROR;
|
||||
}
|
||||
|
||||
ssh_log(session,SSH_LOG_PROTOCOL,"Executing proxycommand '%s'",command);
|
||||
pid = fork();
|
||||
if(pid == 0){
|
||||
ssh_execute_command(command,out_pipe[0],in_pipe[1]);
|
||||
|
||||
Reference in New Issue
Block a user