|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #56349 create a function to do the equiv of ssh-keygen
Submitted: 2005-03-15 22:30 UTC Modified: 2012-06-12 12:55 UTC
From: jstuart at computer-city dot net Assigned:
Status: Wont fix Package: ssh2 (PECL)
PHP Version: Irrelevant OS: Gentoo Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jstuart at computer-city dot net
New email:
PHP Version: OS:


 [2005-03-15 22:30 UTC] jstuart at computer-city dot net
Filing this wish list as requested by Pollita.

It would be "nice" if there were a function in ssh2 that would be able to create a SSH public/private key pair just like ssh-keygen does.  Preferablly with the possibility to create the key with a pass phrase and of differing types.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-12 12:55 UTC]
Hi jstuart,

Creating a keypair is easily done by calling ssh-keygen through exec.

libssh2, the library that the ssh2 extension is using has no support for creating 
keys, and will probably never support it in the feature.
 [2012-06-12 12:55 UTC]
-Status: Open +Status: Wont fix
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Mar 29 14:03:41 2023 UTC