Start a new topic

Connect to AWS EC2 instance using SSH

Hello,


I am evaluating Royal TSX before buying it.

I used it some years ago under Windows and I am now using a Mac.

I saw that we can now use scripts and that there is some sort or AWS integration.


It would be great if you can help me to configure a connection where I have to determine the IP address of the server.

I have a command to get this IP address:

aws ec2 describe-instances --filters Name=tag:ASG,Values=PMT Name=tag:ENV,Values=DP1| jq ".Reservations[0].Instances[0].NetworkInterfaces[0].PrivateIpAddress"


But I don't know how, and even if it is possible to, set the result of the command to the IP address field of the current connection.


Many thanks for your feedback and help.


Nicooas

Login or Signup to post a comment