php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jstuart at computer-city dot net
New email:
PHP Version: OS:

 

 [2005-03-15 22:30 UTC] jstuart at computer-city dot net
Description:
------------
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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-12 12:55 UTC] langemeijer@php.net
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] langemeijer@php.net
-Status: Open +Status: Wont fix
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jan 05 01:01:28 2025 UTC