Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connecting to EC2 Windows host from Linux

When I use the recommended rdesktop to connect to Windows EC2 host I see from Archlinux:

$ rdesktop 54.254.180.73

ATTENTION! The server uses and invalid security certificate which can not be trusted for
the following identified reasons(s);

 1. Certificate issuer is not trusted by this system.

     Issuer: CN=EC2AMAZ-I5MV8JK


Review the following certificate info before you trust it to be added as an exception.
If you do not trust the certificate the connection atempt will be aborted:

    Subject: CN=EC2AMAZ-I5MV8JK
     Issuer: CN=EC2AMAZ-I5MV8JK
 Valid From: Thu Mar  5 16:06:01 2020
         To: Fri Sep  4 16:06:01 2020

  Certificate fingerprints:

       sha1: 98f1e92f9b9a3b57f4b2a23177f1bbe1a9afeb2c
     sha256: 8e9f1a2e5497c972b56b8300f6e2ec3f59c8903103984cb5456a237c9a7b2d45


Do you trust this certificate (yes/no)? yes
Failed to initialize NLA, do you have correct Kerberos TGT initialized ?
Failed to connect, CredSSP required by server (check if server has disabled old TLS versions, if yes use -V option).

I'm not sure where to go from here. Especially when rdesktop doesn't appear maintained.

Any tips to connect to a Windows host?

like image 231
hendry Avatar asked Oct 13 '25 09:10

hendry


1 Answers

enter image description here

Instead of rdesktop, the FreeRDP: A Remote Desktop Protocol Implementation seems to better accommodate this CredSSP required by server issue.

xfreerdp /u:"Administrator" /v:ec2-3-1-49-118.ap-southeast-1.compute.amazonaws.com
like image 120
hendry Avatar answered Oct 15 '25 01:10

hendry