61 Commits

Author SHA1 Message Date
Yanbing Wang
c4d0727338 Source snapshot from Powershell/openssh-portable:latestw_all 2018-01-19 18:43:54 -08:00
Yanbing Wang
d6ce465b15 Source snapshot from Powershell/openssh-portable:latestw_all 2017-11-18 18:23:07 -08:00
Yanbing Wang
a24021252b Source snapshot from Powershell/openssh-portable:latestw_all 2017-10-17 15:52:28 -07:00
Yanbing Wang
25a4ae6a3c Source snapshot from Powershell/openssh-portable:latestw_all 2017-09-05 20:43:24 -07:00
Yanbing Wang
993c15663a Source snapshot from Powershell/openssh-portable:latestw_all 2017-07-19 17:19:24 -07:00
Yanbing Wang
7580216f04 Source snapshot from Powershell/openssh-portable:latestw_all 2017-06-30 18:36:09 -07:00
Yanbing Wang
944505e199 Source snapshot from Powershell/openssh-portable:latestw_all 2017-06-15 18:41:19 -07:00
bingbing8
2c3a1a95d0 Source snapshot from Powershell/openssh-portable:latestw_all 2017-06-02 17:25:34 -07:00
bingbing8
6a86fdd825 Source snapshot from Powershell/openssh-portable:latestw_all 2017-05-12 15:16:52 -07:00
Manoj Ampalam
c156f1404c Source snapshot from Powershell/openssh-portable:latestw_all 2017-04-16 13:54:14 -07:00
Manoj Ampalam
8c43479844 Source snapshot from Powershell/openssh-portable:latestw_all 2017-04-04 12:35:11 -07:00
Manoj Ampalam
776483fb4e Source snapshot from Powershell/openssh-portable:latestw_all 2017-03-14 12:36:27 -07:00
Manoj Ampalam
c8b8c4b82a Source snapshot from Powershell/openssh-portable:latestw_all 2017-02-15 22:47:07 -08:00
Manoj Ampalam
e404237322 Source snapshot from Powershell/openssh-portable:latestw_all 2017-01-30 00:14:58 -08:00
Manoj Ampalam
a4b577b5a0 Source snapshot from Powershell/openssh-portable:latestw_cwb 2017-01-03 14:46:33 -08:00
Manoj Ampalam
69ea992e00 Source snapshot from Powershell/openssh-portable:latestw_cwb 2016-12-17 23:06:42 -08:00
Manoj Ampalam
7c62169a93 Source snapshot from Powershell\openssh-portable 2016-11-29 14:50:13 -08:00
Manoj Ampalam
b47cc46d4f Missing headers causing link errors in X86 builds 2016-10-23 12:57:29 -07:00
manojampalam
5831b09b84 Fix to regression using scp without setting ssh bin path in PATH variable 2016-10-22 21:00:59 -07:00
manojampalam
74db643add Fix to issue with absolute/relative paths for subsystem processes 2016-10-21 15:08:39 -07:00
manojampalam
ad128b5c68 Added user environment variables to session 2016-10-20 22:49:17 -07:00
manojampalam
46a6cc9c7c Fixes to hang on TTY child process exit 2016-10-20 22:14:42 -07:00
manojampalam
bc83d7d29e Fixes to some issues 2016-10-19 23:38:41 -07:00
Manoj Ampalam
6239a2847b session refactoring part 2 2016-10-19 22:40:34 -07:00
Manoj Ampalam
e626a748ca session refactoring part 1 2016-10-19 14:38:33 -07:00
Manoj Ampalam
601c2b6e81 cleaned up do_exec on Windows 2016-10-18 23:20:24 -07:00
Manoj Ampalam
122ed4bf4d Refactored do_exec* calls 2016-10-18 21:42:10 -07:00
Manoj Ampalam
c25f6a0d5e Converged Win Unix code in auth.c, move utf routine declarations to separate header 2016-10-16 01:00:27 -07:00
Manoj Ampalam
52bdef5cb7 pwd.c refactoring and clean up 2016-10-14 00:02:19 -07:00
Manoj Ampalam
68250e4059 Fix: Temporary workaround for scrolling issue 2016-09-30 22:26:43 -07:00
Manoj Ampalam
6c94fae80a Fix: PTY was not accounting for initial TTY size 2016-09-30 14:50:33 -07:00
Manoj Ampalam
a521817e49 Fix - attach PTY only when requested 2016-09-30 13:22:01 -07:00
Manoj Ampalam
f5226a3b70 Added PTY support to account for client TTY window size changes 2016-09-29 17:27:21 -07:00
Manoj Ampalam
c3b785a140 Manual Merge change 3c6b77b4fdc45ada3a8b907cd4af6f73dfd70e66
3c6b77b4fdc45ada3a8b907cd4af6f73dfd70e66 Ray Hayes <rayhayes@rhbe.net>
7/28/2016 12:10:04 PM -07:00 First version with console changes.
2016-09-22 17:33:17 -07:00
Manoj Ampalam
071b0d49e5 Env:SSH_ORIGINAL_COMMAND added when needed
https://github.com/PowerShell/Win32-OpenSSH/issues/243
2016-07-01 11:25:59 -07:00
Manoj Ampalam
eb9db70558 Delete unwanted code in session cleanup 2016-04-04 14:54:54 -07:00
manojampalam
77b0ec86df SIGCHLD and waitpid implementation with sshd on board 2016-03-25 21:22:13 -07:00
Manoj Ampalam
31989d6f07 sshd changes 2016-03-25 16:28:25 -07:00
Manoj Ampalam
df9a548ef3 Remove additional token references and calls to ModifyReghtsToDesktop from session 2016-03-24 15:08:52 -07:00
Manoj Ampalam
268bdeb662 Removed code relying on USE_NTCREATETOKEN 2016-03-24 14:57:18 -07:00
Manoj Ampalam
7ca05346bb signal prototypes 2016-03-16 13:43:14 -07:00
manojampalam
238c80b33d initial SIGCHLD implementation 2016-03-14 23:00:27 -07:00
manojampalam
5cb9fb09ed shell host is now the default shell process in sshd 2016-03-13 11:21:09 -07:00
Manoj Ampalam
0e1f1c1cb3 sshd enabling changes 2016-03-10 15:18:09 -08:00
quamrulmina
f3c841824e Improve sshd Pluggable remote console enhancements
pluggable binaries are to reside in the same directory where sshd.exe is
located
2016-02-02 02:02:56 -06:00
quamrulmina
829f799ad9 Add pluggable access to shell session so that cmd & powershell runs like natively
#define WIN32_PRAGMA_REMCON in config.h.vs or in channels.c, session.c
and sshpty.c files . cmdserver.exe runtime in Pragma Fortress SSH
package needed to access shell session.
2016-02-01 04:10:36 -06:00
quamrulmina
802d9a3349 Fix #71; Env vars like APPDATA, LOCALAPPDATA etc in sshd are set correctly now.
APPDATA, LOCALAPPDATA, HOMEDRIVE, HOMEPATH set correctly in sshd server
2016-01-27 18:20:11 -06:00
dkulwin
25e52cb498 Add prototypes for functions returning pointers and modify how some arrays are defined
Functions not declared before use, are define as returning an int.
Under 64-bit this can result in corrupted pointers being returned.

Also, Visual studio doesn't like it when you use variables to declare
array sizes, static values always work though.
2015-11-04 19:34:15 -06:00
quamrulmina
889e58c056 Fix ssh client not executing shell cmd given as argument
"ssh user@host whoami" now works and will show the whoami command
output. sshd server was fine but ssh client was not working.
2015-10-28 18:11:52 -05:00
quamrulmina
1c258ec0ae Fix control-c working in sshd server
control-c is handled correctly by sshd server and passed to shell for it
to process which usually means terminating the current program or
programs.
2015-10-26 15:19:27 -05:00