How to remote to Windows using Linux

35 views
Skip to first unread message

Rachel Leonard

unread,
Mar 19, 2018, 4:28:11 PM3/19/18
to Ansible Project
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.  

Jordan Borean

unread,
Mar 19, 2018, 5:14:09 PM3/19/18
to Ansible Project
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

Rachel Leonard

unread,
Mar 19, 2018, 5:16:36 PM3/19/18
to Ansible Project
Thank you for the response!  I do have ports 5985 & 5986 open for WinRM. I still can't get through. 

Jordan Borean

unread,
Mar 19, 2018, 5:35:34 PM3/19/18
to Ansible Project
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

Rachel Leonard

unread,
Mar 20, 2018, 2:18:26 PM3/20/18
to Ansible Project
Jordan,

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

Thank you,
Rachel 
Reply all
Reply to author
Forward
0 new messages