search for: internal_sftp_nam

Displaying 4 results from an estimated 4 matches for "internal_sftp_nam".

Did you mean: internal_sftp_name
2008 Aug 19
1
fixed: [patch] fix to ForceCommand to support additional arguments to internal-sftp
...--- /var/tmp/session.c 2008-08-18 21:07:10.000000000 -0700 +++ session.c 2008-08-19 11:28:29.000000000 -0700 @@ -781,7 +781,7 @@ if (options.adm_forced_command) { original_command = command; command = options.adm_forced_command; - if (strcmp(INTERNAL_SFTP_NAME, command) == 0) + if (strcmp(INTERNAL_SFTP_NAME, command) == 0 || strncmp(INTERNAL_SFTP_NAME, command, strlen(INTERNAL_SFTP_NAME)) == 0 && isspace(command[strlen(INTERNAL_SFTP_NAME)])) s->is_subsystem = SUBSYSTEM_INT_SFTP; else if (s...
2008 Aug 19
1
[patch] fix to ForceCommand to support additional arguments to internal-sftp
...--- /var/tmp/session.c 2008-08-18 21:07:10.000000000 -0700 +++ session.c 2008-08-18 21:12:51.000000000 -0700 @@ -781,7 +781,7 @@ if (options.adm_forced_command) { original_command = command; command = options.adm_forced_command; - if (strcmp(INTERNAL_SFTP_NAME, command) == 0) + if (strncmp(INTERNAL_SFTP_NAME, command, strlen(INTERNAL_SFTP_NAME)) == 0 && isspace(command[strlen(INTERNAL_SFTP_NAME)])) s->is_subsystem = SUBSYSTEM_INT_SFTP; else if (s->is_subsystem) s...
2012 May 17
2
New Subsystem criteria for Match option block in OpenSSH server
...============= 571d570 < 825a825 > 2089a2090 > /* Searching for subsystem into the options repository */ 2091,2105c2092,2120 < if (strcmp(subsys, options.subsystem_name[i]) == 0) { < prog = options.subsystem_command[i]; < cmd = options.subsystem_args[i]; < if (strcmp(INTERNAL_SFTP_NAME, prog) == 0) { < s->is_subsystem = SUBSYSTEM_INT_SFTP; < debug("subsystem: %s", prog); < } else { < if (stat(prog, &st) < 0) < debug("subsystem: cannot stat %s: %s", < prog, strerror(errno)); < s->is_subsystem =...
2009 May 18
6
[Bug 1599] New: "ForceCommand internal-sftp" not working as expected
https://bugzilla.mindrot.org/show_bug.cgi?id=1599 Summary: "ForceCommand internal-sftp" not working as expected Product: Portable OpenSSH Version: 5.2p1 Platform: ix86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: unassigned-bugs at mindrot.org