Manoj Ampalam
fd580e9d96
Allow remote session processes to break away from session job object
...
PowerShell/Win32-OpenSSH#1032
Issue: Ssh-shellhost.exe creates a job object and ties all its child processes to its lifetime. It does not allow the child processes to break away from this job. This restriction is unnecessary.
Fix: Modified job object to allow child processes to break away if they need to.
2018-01-26 15:22:23 -08:00
bagajjal
b92b7c9480
fix the sshd_config and test related changes ( #265 )
...
fix the sshd_config and test related changes
2018-01-22 18:53:17 -08:00
bagajjal
973a7afc62
automated generation of cfg, logs folder and copy sshd_config ( #264 )
2018-01-22 16:55:42 -08:00
Yanbing
8f212f6b05
Cranked version 1.0.0.0 ( #262 )
...
Cranked version 1.0.0.0
2018-01-19 15:13:09 -08:00
bagajjal
c85ba2b8c3
Separate binary path from cfg path and log path ( #263 )
...
Separate binary path from cfg path and log path, test update
2018-01-19 15:12:43 -08:00
Manoj Ampalam
88defae8c1
removed logic arround NTService\SSHD related checks ( #261 )
2018-01-18 10:46:52 -08:00
Manoj Ampalam
32ff0c2aed
Added support to autogen hostkeys at sshd service startup ( #259 )
...
* Added support to autogen hostkeys at sshd service startup
* Integrated latest changes to sshd_config
2018-01-17 08:52:10 -08:00
bagajjal
04c012c032
fix backspace (Control+?) in no-pty session ( #257 )
...
https://github.com/PowerShell/Win32-OpenSSH/issues/1011
2018-01-16 21:59:27 -08:00
bagajjal
1f636bd8dd
removed extra ; remove m while sending color code ( #255 )
...
https://github.com/PowerShell/Win32-OpenSSH/issues/1005
2018-01-16 21:58:44 -08:00
Karl Itnic
97b74e8a10
Update socketio.c ( #252 )
...
Merged fix from https://github.com/PowerShell/openssh-portable/pull/252
2018-01-16 21:37:21 -08:00
Manoj Ampalam
5e0833f69d
Logfile add date ( #260 )
...
* add date in the log file in MM/DD/YYYY format
* changed date format in log file to bigendian ISO 8601 (YYYY-MM-DD) (#256 )
The "madendian" MM/DD/YYYY format is not used outside the United States
(and rather irritating elsewhere)
2018-01-16 19:56:06 -08:00
bagajjal
b62ae95cd2
add date in the log file in MM/DD/YYYY format ( #253 )
2018-01-16 19:48:06 -08:00
Manoj Ampalam
fdd54b6334
Implement Unix styled privilege separation in Windows ( #258 )
...
OpenSSh privilege separation model - http://www.citi.umich.edu/u/provos/ssh/privsep.html
Posix_spawn is implemented in POSIX adapter as an alternative to fork() that is heavily used in Privilege separation.
Additional state info is added to sshd to accommodate distinguishing the various modes (privileged monitor, unprivileged child, authenticated child).
Required service state (like config and host keys) is transmitted over pipes from monitor to child processes.
Changes to installation scripts and tests to accomodate new architectural changes
2018-01-15 13:57:31 -08:00
bagajjal
8906783fa4
remove LsaNtStatusToWinError as onecore doesn't support this API ( #249 )
2017-12-07 12:50:16 -08:00
bagajjal
507fe3283a
Support custom LSA auth provider ( #246 )
...
Support custom LSA auth provider
2017-12-07 11:12:29 -08:00
bagajjal
ef55537c8b
Merge pull request #226 from PowerShell/mitigate_AltGR_#902
...
Fix non-US keyboard related issue and scp x86 debug build error
2017-12-05 12:58:47 -08:00
Yanbing
04a3e5ee68
Cranked version 0.0.24.0 ( #248 )
...
Cranked version 0.0.24.0
2017-12-04 13:03:54 -08:00
bagajjal
5e86ef04c8
sshd service shouldn't call sshd_main() while exiting ( #247 )
...
PowerShell/Win32-OpenSSH#957
2017-12-04 10:45:20 -08:00
Darren Tucker
6c8a246437
Replace mkinstalldirs with mkdir -p.
...
Check for MIKDIR_P and use it instead of mkinstalldirs. Should fix "mkdir:
cannot create directory:... File exists" during "make install".
Patch from eb at emlix.com.
2017-12-01 17:13:34 +11:00
Darren Tucker
79226e5413
Remove RSA1 host key generation.
...
SSH1 support is now gone, remove SSH1 key generation.
Patch from eb at emlix.com.
2017-12-01 16:55:35 +11:00
Yanbing
b7ee9e98e8
try loading advapi32.dll on machine where sspicli.dll does not presents ( #244 )
...
PowerShell/Win32-OpenSSH#965
2017-11-28 21:04:23 -08:00
Manoj Ampalam
6861ecaa41
Fixed service banary paths ( #243 )
...
PowerShell/Win32-OpenSSH#963
2017-11-28 21:03:10 -08:00
Yanbing
32efc3b06c
download previous pester version before the latest one got fixed. ( #245 )
2017-11-28 19:06:26 -08:00
bagajjal
bcf9c5336f
SFTP fix to download a very large file in chunks #863 ( #227 )
...
PowerShell/Win32-OpenSSH#863
2017-11-20 23:25:01 -08:00
Yanbing
495119e23f
Remove two properties from projects ( #240 )
2017-11-17 13:07:54 -08:00
Manoj Ampalam
549d532c09
Ported upstream changes
2017-11-16 14:08:23 -08:00
Yanbing
3f106fe653
Address code review feedback of PR 238 ( #239 )
...
Address feedback of PR 238
2017-11-15 13:10:54 -08:00
Yanbing
a4cbd07812
Enable build for arm and arm64 ( #238 )
...
Enable build for arm and arm64
2017-11-14 17:22:02 -08:00
bagajjal
4fc40c0959
rename variable to NoLibressl
2017-11-07 16:07:16 -08:00
bagajjal
494faf24dd
Enable libressl as default and to disable use the switch
2017-11-07 13:57:08 -08:00
Manoj Ampalam
4edff78b9d
Fixed issue in POSIX layer that could truncate write streams ( #235 )
...
PowerShell/Win32-OpenSSH#908
2017-11-06 21:38:14 -08:00
Manoj Ampalam
c546971ca8
Fixed issue with ssh redirected stdin
...
PowerShell/Win32-OpenSSH#929
Issue: ReadThread prematurely returns on read io error. This results in APC never getting set and hence the corresponding fd is never set on select resulting the hang seen in issue 929.
Also removed the static instances storing sync io status, since there could be multiple sync fds operating at the same time. Moved the sync io status to w32_io object itself.
2017-11-03 13:16:23 -07:00
bagajjal
dce738c33a
fix the error code when we fail to open file ( #232 )
...
https://github.com/PowerShell/Win32-OpenSSH/issues/934
2017-11-02 22:37:50 -07:00
Yanbing
65751db59c
Cranked version 0.0.23.0 ( #233 )
...
Cranked version 0.0.23.0
2017-11-02 13:01:00 -07:00
bagajjal
28b486e0b0
fix the project files to refer to libcrypto.dll instead of libcrypto-41.dll ( #231 )
...
https://github.com/PowerShell/Win32-OpenSSH/issues/933
2017-10-31 11:44:10 -07:00
Shawn Iverson
b2daa97b71
Fix misspelling in agent.c ( #230 )
2017-10-30 15:58:35 -07:00
bagajjal
b3862103e4
support unicode characters from the ssh.exe ( #228 )
2017-10-30 15:50:08 -07:00
bagajjal
beae9cad31
fix#902 and scp x86 debug build error
2017-10-20 10:21:17 -07:00
Yanbing
d4069f2055
Cranked version 0.0.22.0 ( #225 )
...
Cranked version 0.0.22.0
2017-10-17 14:01:15 -07:00
Manoj Ampalam
21ebb53a30
Multiple fixes ( #224 )
...
PowerShell/Win32-OpenSSH#894
Added logic to profile path retrieval to consider environment variables in path read from registry
PowerShell/Win32-OpenSSH#883
Added flags to support libssh2 SFTP. These are No-Ops for now. We may support them later if needed. Added PowerShell/Win32-OpenSSH#915 to keep track of TODO work item
2017-10-17 12:29:13 -07:00
bagajjal
9555bd9e87
Fix the memset issue related to default cmd option ( #223 )
...
Fix the memset issue related to default cmd option
2017-10-16 19:03:02 -07:00
bagajjal
97959981f6
More fix of sftp scp file permission and test cases ( #222 )
...
More fix of sftp scp file permission and test cases
2017-10-16 14:46:37 -07:00
bagajjal
c9c715e707
Fix sftp scp file permission ( #212 )
...
PowerShell/Win32-OpenSSH#884
Convert the mode properly to file permissions.
If mode has "read" permission then we set the file permission to "read & execute"
If mode has "write" permission then we set the file permission to "Write & Modify"
Inherit the file permissions from the parent folder when sftp / scp creates the file on windows.
sftp - put & get.
scp - from local to remote windows machine.
2017-10-16 13:00:40 -07:00
bagajjal
9c95d8e2bb
allowing users to configure the default shell through windows registry ( #215 )
2017-10-16 10:45:11 -07:00
Manoj Ampalam
7a4a10a224
Secured permissions on logs folder and underlying logs ( #221 )
2017-10-12 22:46:26 -07:00
Yanbing
96235ad333
Added support (optional) for building for OneCore
2017-10-11 08:49:11 -07:00
Manoj Ampalam
6fba3a2ae9
Merge branch 'master' of https://github.com/openssh/openssh-portable into latestw
2017-10-03 14:32:45 -07:00
Manoj Ampalam
72093244f9
Added test cases for certificate authentication ( #216 )
2017-10-03 12:21:08 -07:00
Yanbing
cd35668972
Cranked Version 0.0.21.0 ( #214 )
...
Cranked Version 0.0.21.0
2017-10-02 14:37:34 -07:00
Manoj Ampalam
a348597468
Support SSH certificates ( #213 )
...
support certificate authentication
2017-10-02 12:39:12 -07:00