write_key (Net::SSH::Util::WriterBufferImpl)

    # File lib/net/ssh/util/buffer.rb, line 212
            def write_key( *key )
              key.each do |k|
                write_string( k.ssh_type )

                case k.ssh_type
                  when "ssh-dss"
                    write_bignum( k.p )
                    write_bignum( k.q )
                    write_bignum( k.g )
                    write_bignum( k.pub_key )

                  when "ssh-rsa"
                    write_bignum( k.e )
                    write_bignum( k.n )

                  else
                    raise NotImplementedError,
                      "unsupported key type '#{k.ssh_type}'"
                end
              end
            end