#make sure your SSH key is installed on your device sudo chmod 600 [path/to/file.pem] ssh -i [path/to/file.pkm] [username]@[Public IP]