I want to generate ssh keypair from php can anyone please guide me how to do it? I have tried the shell_exec but the shell asks questions so that command does not work. I wo
Check the manpage of ssh-keygen to find out how to execute it without any prompts.
ssh-keygen
http://linux.die.net/man/1/ssh-keygen