ssh - How can I use pem files in php's ssh2 functions -


Let me get some information from some Amazon EC2 examples via PHP's SS2 functions and display it on my backoffice the wanted.

Is there any way in ssh2 functions that I did while connecting through the command line SSH?

  ssh -i path_to_file / key.pem host01-ec2  

thanks

You can use to remove the pub / private key, and then use it to authorize.


Comments