Trying to connect EC2 instance
i am trying to connect EC2 instance via command ssh ec2-user@#IP_ADDRESS# -i #FILENAME# but its giving error as permission denied.i tired chmod 400 command , but its not working.'ch mod' is not recognized as an internal or external command,operable program or batch file. i am working on window machine. and created Linux instance. i have kept .pem file in separated folder.
how to resolve this?