1
I followed this video reference https://www.youtube.com/watch?v=dL-9k4riBps (tutorial and explanation on how to restrict a user to their home directory with sshd_config, chroot directory and windows user groups, updated to include better user restriction instructions locking the user into their home directory in SFTP) to create an SFTP connection using Cygwin.
Everything works fine when I connect using SFTP Client.
I want to create a normal SSH connection for GIT/PuTTY, however it's not working. It's not even showing me any error. The PuTTY terminal just closes after connecting.
look on sshd logs – matzeri – 2018-08-19T18:46:05.010
SSHD log (file inside cygwin/var/log) is fully empty inside – yellowandred – 2018-08-20T07:01:41.383
I got one more file 'lastlog' inside cygwin/var/log which is almost 54M and not readable by notepad++ – yellowandred – 2018-08-20T07:02:55.350