note 73293 deleted from function.ssh2-auth-pubkey-file by langemeijer
| From: | langemeijer@php.net | Date: | Sun, 11 Nov 2012 15:55:22 +0000 |
| Subject: | note 73293 deleted from function.ssh2-auth-pubkey-file by langemeijer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-191872@lists.php.net to get a copy of this message | ||
Note Submitter: d23d23 at gmail dot com
----
The public key must be on one line starting with the key type, 1 space and followed by the keydata
(no newlines) and not followed by comments. This is a limitation of libssh2, so remove any excess
data from the file after creating it with your key generation tools.
So it would look something like this:
ssh-rsa <keydata>