We would like to be able to connect from a Windows EC2 to a linux2023 EC2 using WinSCP for efs-test-cases purpose. So developers can put their input and expected files to the EFS for Jenkins jobs.
We are going to create a key to make the connection between the 2 EC2s:
ssh-keygen -t ed25519 and type enter until the endCopy the content of the public key findable in C:\Users\Administrator\.ssh\id_ed25519.pub and paste it to the linux EC2, named ec2-<AWS_REGION>a-efs-test-cases, in the /home/ec2-user/.ssh/authorized_keys file

..., select the private key (C:\Users\Administrator\.ssh\id_ed25519) and accept the conversion to .ppkNote: Notice this time we use the private key