262 Commits

Author SHA1 Message Date
bagajjal
3a33ea8dee
Bagajjal/fix minor issues (#568) 2022-02-18 17:33:28 -08:00
Yan Tesis
c89890c3a4
Adding PKCS11 support to SSH agent (#537) 2022-02-17 17:31:50 -08:00
Vivian Thiebaut
602a02995a
Handle Path Variable: Prepend System path to User path (#563) 2022-02-07 15:00:39 -08:00
vthiebaut10
66b991a47c
New SSH connections have updated environment variables (#509) 2022-02-04 09:58:11 -08:00
bagajjal
0d88c342a5
Spin up ssh-sk-helper in user context when called from ssh-agent (#560) 2022-02-01 18:46:19 -08:00
pedro martelletto
4cd1fd1dc0
Enable support for FIDO2/U2F security keys (#541) 2021-12-17 18:30:25 -08:00
Tess Gauthier
2bbcffac6e
Cleanup L3 Compiler Warnings (#538) 2021-11-02 16:41:35 -07:00
pedro martelletto
942e993fac
propagate error if get_sid() fails (#520) 2021-10-28 13:28:58 -07:00
Tess Gauthier
904470d9a9
Telemetry (#529) 2021-10-11 14:46:32 -07:00
vthiebaut10
0b73c4636d
Allow non-admin user processes to log message to ETW / log file (#513) 2021-06-11 16:56:04 -07:00
bagajjal
4d2ea7f2f2 fix the error message when user tries to login with just domain name 2021-05-12 14:09:30 -07:00
bagajjal
1abee49b13 remove unnecessary logs 2021-05-12 11:18:10 -07:00
Oldřich Jedlička
62ea86fdbe
Rework username same as hostname (#469) 2021-05-06 15:20:35 -07:00
Melby Ruarus
747d7ee66c
Updates the Win32 error translation table to translate ERROR_NOT_SUPPORTED to EOPNOTSUPP. (#440) 2021-05-03 12:45:19 -07:00
bagajjal
88c5e11dbd Merge branch 'latestw_all' of https://github.com/PowerShell/openssh-portable into bagajjal/pull_v8_6 2021-04-29 12:51:13 -07:00
bagajjal
9dba3f91e4
Bagajjal/compile test v8.6 (#503)
Fixed compilation and test failures with V8.6.
2021-04-29 12:41:08 -07:00
vthiebaut10
83927cbe02
sftp-server running on windows writes incoming file from linux client… (#502) 2021-04-28 14:56:51 -07:00
bagajjal
5bcc5aa4d0
remove setting the console title (#494) 2021-03-31 11:43:49 -07:00
Brian Katyl
78b646b0de
Adds support for system account lookup (#478) 2021-03-26 17:13:19 -07:00
Brian Katyl
6e76ad9e1e
Add support for AuthorizedKeysCommand and AuthorizedPrincipalsCommand to run as System (#479) 2021-03-26 17:12:55 -07:00
vthiebaut10
9a60244ef6
Increase verbosity level for bad file permission (#489) 2021-03-26 17:12:13 -07:00
bagajjal
54824dd72e
Administrator non en-us OS. (#488) 2021-03-25 14:25:42 -07:00
bagajjal
2539e60536
fix HKEY_LOCAL_MACHINE\SOFTWARE\OpenSSH registry permissions (#484) 2021-03-22 19:17:33 -07:00
bagajjal
bc7adf5a84
Allow users to configure custom shell arguments (#480) 2021-03-03 18:05:25 -08:00
Scott Bennett
8ab565c53f
Prevent duplicated login message (#426) 2020-04-02 14:34:30 -07:00
Bryan Berns
106db2baac
Make w32_rename() Atomic For Files (#438) 2020-04-02 10:17:27 -07:00
bagajjal
901f123915
conExitRawMode() - set in_raw_mode to 0 2020-04-01 22:02:28 -07:00
Scott Bennett
a228c2fbaa
Reset console after exiting raw mode (#425) 2020-04-01 21:59:19 -07:00
bagajjal
0516e2d619
Fix cursor scroll issue for downlevel OS (#430) 2020-03-16 16:27:57 -07:00
bagajjal
6b1af6abaa
Fix to pipe shell commands. (#429)
Fix to pipe shell commands.
Fix random test failures
2020-02-28 18:06:18 +00:00
bagajjal
0bd3eb973b
remove CREATE_NO_WINDOW
Interactive sftp is broken.
2019-12-17 17:00:49 -08:00
bagajjal
ac41232677
Match user force command (pty) (#421) 2019-12-17 14:11:40 -08:00
Bryan Berns
2c2ac97333 Add Long File Name Support (#400) 2019-12-17 12:40:36 -08:00
Oldřich Jedlička
2736cb7b0c Resolve local user name same as machine name to <user_name aka machine_name>\<user_name aka machine_name> 2019-12-16 16:44:07 -08:00
Bryan Berns
7dd58ed31f Allow Use Of Non-ASCII Character In SSH Client Passwords (#322)
* Allow Use Of Non-ASCII Character In SSH Client Passwords
2019-12-12 14:33:05 -08:00
bugale
17c9c6dbb3 Using the Y viewport for setting cursor correctly (#368)
[shellhost] - fix cursor position, Y viewport.
2019-12-12 14:32:17 -08:00
sasdf
1b9b599f60 Change /dev/null to NUL (#403)
1) Change /dev/null to NUL.
2) Add logic to check for NULL_DEVICE_WIN in fileio.c and misc.c
2019-12-12 14:30:11 -08:00
bagajjal
a49bdce666
Port Unix bash tests (#410)
Leverage upstream test infrastructure to run against windows openssh binaries.
2019-12-09 15:12:46 -08:00
bagajjal
9b327de3e7
While spawning sshd process, use DETACHED_PROCESS flag 2019-12-09 11:51:24 -08:00
Bryan Berns
25588ffb7a Potential Bug When First Character In Path Is Unicode (#398)
Fix is_absolute_path() to ignore non-ASCII values.
2019-12-09 11:31:22 -08:00
bagajjal
8cf6003bac
CreateProcess with CREATE_NO_WINDOW flag (#413)
* createProcess() should spawn a new process with an invisible console window.
2019-12-09 10:54:18 -08:00
bagajjal
34608f3d29
Read VTSequence from console (#412)
Use console win32 API to read the VTSequence for keystrokes on client-side.
2019-12-05 13:20:04 -08:00
bagajjal
9e42eb0c76
Update logic to identify console conpty support (#411)
conpty identity logic.
2019-12-02 10:57:03 -08:00
Ed Schaller
a4ea7dcced Fix comparison between wchar and ptr (#401) 2019-11-15 22:49:38 -08:00
Manoj Ampalam
7ae6defce8
Added support for AuthorizedKeysCommand and AuthorizedPrincipalsCommand (#409) 2019-11-15 10:51:45 -08:00
Manoj Ampalam
754f7b4885 Ported v8.1 changes 2019-11-01 12:20:04 -07:00
bagajjal
0d93457a2e Added compression support vai Zlib (#404) 2019-11-01 10:57:34 -07:00
Manoj Ampalam
aaf11e2149
Fixed various unhandled failure paths in Kerb GSS/SSPI adapter (#393) 2019-10-10 11:42:28 -07:00
Manoj Ampalam
9cc51aa7e4
Fixed issue around incorrect handling of Handle and CredHandle types in Kerb GSS/SSPI adapter code
Prior logic was using a common variable to encapsulate both these types and doing a runtime check based on GetTokenInformation call to determine the actual underlying type. These two types are not guaranteed to have different values and any conflict could result in a random crash that would be nearly impossible to debug.
2019-09-10 14:38:16 -07:00
Bryan Berns
8346fc0d43 Correct Unicode Path Handling (#388)
Adjusted realpath() to use _wfullpath() to handle cases where paths may contain unicode characters.
Addresses PowerShell/Win32-OpenSSH#1401.
2019-07-16 11:42:02 -07:00