I am trying to SSH to EC2 from a Windows machine. After installing the CYGWIN (SSH enabled), I tried running the following command:
ssh -i /cygdrive/c/cygwin64/home/user/.ssh/user-pc.pem email@example.com
Pseudo-terminal will not be allocated because stdin is not a terminal.
I have also tried changing to directory to /home/user/.ssh and run the command from there after modifying the path to the .pem file accordingly. However, I get the same result.
What can I do to fix this?