31 Commits

Author SHA1 Message Date
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
e626a748ca session refactoring part 1 2016-10-19 14:38:33 -07:00
Manoj Ampalam
92ddf4f9e1 Fixing issue with net stop sshd 2016-10-18 13:40:11 -07:00
Manoj Ampalam
dcb63461a1 Unicode enabled on ssh prompts 2016-10-17 14:15:02 -07:00
Manoj Ampalam
8566745e2d Implemented getpwnam and moved w32_posix_initialize to wmain, moved wmain.c to win32iocompat 2016-10-15 19:17:54 -07:00
Manoj Ampalam
52bdef5cb7 pwd.c refactoring and clean up 2016-10-14 00:02:19 -07:00
Manoj Ampalam
e8c353d766 missing changes 2016-09-23 11:29:55 -07:00
manojampalam
1627b8c145 5-3 C1 2016-05-03 19:58:18 -07:00
manojampalam
0861b4ea3a Fixes in sshd 2016-04-03 18:06:48 -07:00
manojampalam
77b0ec86df SIGCHLD and waitpid implementation with sshd on board 2016-03-25 21:22:13 -07:00
manojampalam
ed535436d0 simplified sshd fork code 2016-03-25 18:19:05 -07:00
Manoj Ampalam
31989d6f07 sshd changes 2016-03-25 16:28:25 -07:00
manojampalam
65ccbe645c Moved win specific logging code from each exe to win32iocompat 2016-03-23 20:39:00 -07:00
manojampalam
bf74d01af3 Removing #ifdefs around fcntl(FD_CLOSEXEC) 2016-03-19 13:25:43 -07:00
manojampalam
3760840856 Updates to project files to move _NT target to 0x600 2016-03-16 23:06:40 -07:00
Manoj Ampalam
a67a8b8012 test updates 2016-03-15 14:11:23 -07:00
manojampalam
173b000a76 Enabled sshd debug mode in windows, fixed bug in STDIO close(), and tty condition in client_loop() 2016-03-11 14:31:47 -08:00
Manoj Ampalam
0e1f1c1cb3 sshd enabling changes 2016-03-10 15:18:09 -08:00
quamrulmina
f43f33da8b Fix sshd.log file to be created in the correct place
sshd.log of child was created in root / directory. It should be in the
directory where sshd.exe binary is located. Otherwise logged data were
not being found in the central sshd.log file where user's expect.
2016-01-29 02:53:53 -06:00
dkulwin
44d8ddddb1 Implement generic interface for bignum and diffie-hellman
Implementation of a generic wrap interface for bignum and diffie-hellman
based upon Damien's wrap code in openssh-openbsd.  This commit adds the
generic interface along with the backing code for openssl, cng, and cng
with an openssl fallback.  Currently, openssl is the only provider for
bignum and the diffie-hellman generic interface is only for static and
negotiated oakley groups..
2016-01-16 16:10:16 -06:00
dkulwin
5bc1a58689 Add CNG KEX hooks
Add conditional hooks to use CNG for KEX.  Switches based upon USE_MSCNG
define
2016-01-08 13:42:08 -06:00
quamrulmina
f8f10e1911 Fixed #49. server identification string unhelpfully generic.
SSH-2.0-OpenSSH_7.1p1 Microsoft_Win32_port_with_VS or
SSH-2.0-OpenSSH_7.1p1 Microsoft_Win32_port is transmitted as sshd & ssh
version based if Visual Studio or Mingw build compiler is used.
2015-12-14 16:45:55 -06:00
Manoj Ampalam
c174b10d2c Setting module directory as working directory of sshd deamon and forked processes
Doing so will allow sshd.exe to be launched from any directory - thereby
enabling sshd to be launched from SCM. With this change - following
works:
- sshd.exe install
- net start sshd
- net stop sshd
- sshd.exe uninstall
2015-11-06 10:03:19 -08:00
quamrulmina
484bab654b Identify ssh client version with more info and sshd server shows it by an env var
MS Win32 port & build date added in text part of version id ssh client
send to the remote sshd. sshd also shows this string via environment
variable  "SSH_CLIENT_ID" . All these are allowed and encouraged by the
SSH RFC and improves usability and assists users to know what ssh
versions and vendor build they are running.
2015-11-01 01:25:19 -06:00
quamrulmina
e918f7c731 IPC env var and handle used by sshd is made unavailable to shell/subsystem
sshd.exe uses SSHD_REMSOC env var as private IPC for remote socket
handle passing. The env var is deleted and the handle is made not
inheritable by sshd so that shell and subsystem do not see it or have
access to the handle.
2015-10-31 17:07:07 -05:00
quamrulmina
339912c24b Use a Console as input to drive a shell in sshd.exe
Fixes issues like cmd.exe shell not handling backspace, control-c.
Control-c is still a work in progress and will be fixed but backspace
processing works. This work when complete will make cmd.exe shell and
powershell work better for interactive users.
2015-10-23 19:11:29 -05:00
arif-pragmasys
f4b56e2280 nomachine + additional changes applied to openssh 7.1p1 source base 2015-09-21 16:03:51 -05:00
Arif Saikat
fb17410f60 Original Nomachine 5.9p1 source code
Original Nomachine 5.9p1 source code
2015-09-09 14:08:05 -05:00