Commit Graph

10370 Commits

Author SHA1 Message Date
bagajjal 5bcc5aa4d0
remove setting the console title (#494) 2021-03-31 11:43:49 -07:00
vthiebaut10 794bf53f49
Check if Powershell is running in admin mode before running script (#493) 2021-03-30 14:01:43 -07:00
vthiebaut10 bbb500a639
FixUserFilePermissions fixes permissions for administrators_authorized_keys (#492) 2021-03-29 17:19:37 -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 65625c685a
Check systemwide ssh config file permissions (#483) 2021-03-11 16:49:29 -08:00
bagajjal 1a1a2ac5f1
administrators authorized keys file can have read permissions for other users. (#481) 2021-03-09 10:02:51 -08: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 f4498b7c5b
Update docker file and build helper (#436) 2020-03-17 22:23:04 -07:00
bagajjal be6a7c80d8
Upgrade to LibreSSL 3.0.2 version. (#435) 2020-03-17 12:51:40 -07:00
bagajjal ffae274ab0
Add Moduli file support (#434) 2020-03-17 10:46:28 -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
Rafael Rivera 5207e6f1be
Relax implicit ASKPASS requirements for X11 forwarding scenarios (#428) 2020-02-28 00:19:59 +00:00
bagajjal a4e42bd33a
Temporarily disable proxycommand pester tests.
Track using https://github.com/PowerShell/Win32-OpenSSH/issues/1559
2020-02-24 22:42:04 -08:00
bagajjal ee11c8e15e update to libressl 2.9.2.1 2019-12-17 23:36:53 -08:00
bagajjal 0bd3eb973b
remove CREATE_NO_WINDOW
Interactive sftp is broken.
2019-12-17 17:00:49 -08:00
bagajjal 6f21746aed
Long file name arm64 platform (#422) 2019-12-17 14:14:59 -08:00
bagajjal ac1b5bed26
remove code to block rdp 2019-12-17 14:12:42 -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
Josh Soref 3b28c64936 Tell Windows (CreateProcessW) which part of the command is the program to run (#383) 2019-12-12 14:34:15 -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 9fcbc0c1a5
Code cleanup & minor fixes (#415)
* remove AddPasswordSetting(), override the build output zip file if exists
2019-12-12 14:24:35 -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 4ea214bf8d
ssh config include failed to read windows file paths (#414)
* ssh config "include", failed to read windows file paths
2019-12-09 10:52:52 -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
Manoj Ampalam 66b040a11e Merge branch 'V_8_1' of https://github.com/openssh/openssh-portable into latestw_all 2019-11-01 11:55:19 -07:00
bagajjal 32976d0d7e fix onecore build issues (#402) 2019-11-01 11:11:24 -07:00
bagajjal 762b888b89 Added config option to target a specific version of LibreSSL (#405)
Version of LibreSSL to link to, now needs to be explicitly declared in paths.targets
2019-11-01 11:10:33 -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
Darren Tucker d43ff22d66 Fix ifdef typo for declaration of memmem.
Fixes build on IRIX.  bz#3081.
2019-10-10 09:46:06 +11:00