I received from a partner an SSH private key also, I need to make a php script to connect to the host and send some data through this connexion.
However I need to provide to the ssh php function a public key, but the partner didn't send me the public key.
How can I get from the remote host the public key in a separate file?
Any advices?