Populate environment variables that Cygwin removes in Windows 7
Moved all bash commands from cygwin.bat to cygwin.sh
Use "ssh-user-config" to create .ssh directory in Cygwin (floppy/cygwin.bat)
Changed 'StrictModes yes' to 'StrictModes no' in etc/sshd_config (cygwin.bat and openssh.bat)
Changed '#PubkeyAuthentication yes' to 'PubkeyAuthentication yes' in etc/sshd_config (cygwin.bat and openssh.bat)
Changed '#PermitUserEnvironment no' to 'PermitUserEnvironment yes' in etc/sshd_config (cygwin.bat and openssh.bat)
Changed '#UseDNS yes' to 'UseDNS no' in etc/sshd_config (cygwin.bat and openssh.bat)
Changed 'Banner /etc/banner.txt' to '#Banner /etc/banner.txt' in etc/sshd_config (openssh.bat only)
Repopulate the following variables that Cygwin removes from the environment:
````
APPDATA
CommonProgramFiles
LOCALAPPDATA
ProgramData
ProgramFiles
PSModulePath
PUBLIC
SESSIONNAME
TEMP
TMP
USERNAME (set to vagrant, not cyg_server)
CommonProgramFiles(x86) (64 bit only)
CommonProgramW6432 (64 bit only)
ProgramFiles(x86) (64 bit only)
ProgramW6432 (64 bit only)
````
We are not yet populating these missing values:
````
FP_NO_HOST_CHECK
NUMBER_OF_PROCESSORS
PROCESSOR_ARCHITECTURE
PROCESSOR_ARCHITEW6432
PROCESSOR_IDENTIFIER
PROCESSOR_LEVEL
PROCESSOR_REVISION
windows_tracing_flags
windows_tracing_logfile
````