How to remote to Windows using Linux

I am trying to use credssp to remote login into Windows and I am not getting any response when trying to connect from the Linux box. I can’t ping the windows box either. I can ping the linux box from the windows box. I have ssh and http, https open on the firewall. I think I am missing some windows settings, i.e. TLS/SSL?, on the windows server but can’t find instructions on what to check.

Hi

Sounds like you have a firewall turned on and is blocking both ICMP (ping uses this) and either port 5985 (WinRM http) or 5986 (WinRM https). Check if those ports are open on whatever firewall is in between your linux host and the windows boxes.

Thanks

Jordan

Thank you for the response! I do have ports 5985 & 5986 open for WinRM. I still can’t get through.

Have you enabled the WinRM listeners and configured WinRM itself, you can check by running

winrm e winrm/config/listener

More info on this http://docs.ansible.com/ansible/devel/user_guide/windows_setup.html#winrm-setup.

Thanks

Jordan

Jordan,

Thank you! They enabled and listening. I read there could be a bug with TLS. I reading more about that.

Thank you,
Rachel