Read/write dsa ssh2 files
use Crypt::DSA::Key; my $key = Crypt::DSA::Key->new( Type => 'SSH2', ...); $key->write( Type => 'SSH2', ...);
Crypt::DSA::Key::SSH2 provides an interface to reading and writing \s-1DSA\s0 \s-1SSH2\s0 files, using Data::Buffer, which provides functionality for SSH-compatible binary in/out buffers.
Currently encrypted key files are not supported.
You shouldn't use this module directly. As the \s-1SYNOPSIS\s0 above suggests, this module should be considered a plugin for Crypt::DSA::Key, and all access to \s-1SSH2\s0 files (reading \s-1DSA\s0 keys from disk, etc.) should be done through that module.
Read the Crypt::DSA::Key documentation for more details.
Please see the Crypt::DSA manpage for author, copyright, and license information.