Cpanel::SSH::converttoppk

This article documents the usage of the Cpanel::SSH::converttoppk function in relation to the cPanel interface. This tag can be used inside cPanel pages.


SYNOPSIS

Cpanel::SSH::converttoppk


DESCRIPTION

This function will convert a ssh private key to a PuTTy key.


VARIABLES

INPUT

name (string)
Name of the private key file.

pass (string)
Passphrase for the key pair.

OUTPUT

result (string)
Result of the operation.

key (string)
name (string)
Name of the private key file.


EXAMPLES

<?cp SSH::converttoppk(%,key) name=id_dsa,pass=password ?>

This example will covert the key ``id_dsa'' with the password ``password'' to PuTTy key format.


COPYRIGHT

Copyright 2007 cPanel Inc.