Improper output in SSH session on OSX using FreeSSHd on Windows with cygwin bash/sh shell
- by Tyler Clendenin
I am testing out running an SSH server on a local Windows VM.
I have installed FreeSSHd and set the command shell to "c:\cygwin\bin\sh --login -i" (bash as well) with "Use new console engine" unchecked. (When it was enabled no output would show through the ssh connection anyway)
The shell seems to work, but when connecting from my OS-X terminal using ssh all of the shell results comes out ill formatted.
$ ls -al
total 17
drwxr-xr-x+ 1 SYSTEM Administrators 4096 Feb 2 01:00 .
drwxrwxrwt+ 1 Administrator Administrators 0 Feb 2 01:01 ..
-rw------- 1 SYSTEM Administrators 128 Feb 2 01:30 .bash_history
-rwxr-xr-x 1 SYSTEM Administrators 1150 Feb 2 00:55 .bash_profile
-rwxr-xr-x 1 SYSTEM Administrators 3754 Feb 2 00:55 .bashrc
-rwxr-xr-x 1 SYSTEM Administrators 1461 Feb 2 00:55 .inputrc
Any ideas on why this is happening, how I can fix this?