---
title: SecExternalFormat.formatSSHv2
framework: security
role: symbol
role_heading: Case
path: security/secexternalformat/formatsshv2
---

# SecExternalFormat.formatSSHv2

OpenSSH 2 format for public keys. OpenSSH version 2 private keys are in format kSecFormatOpenSSL or kSecFormatWrappedOpenSSL. OpenSSH is an OpenBSD implementation of the Secure Shell (SSH) protocol.

## Declaration

```swift
case formatSSHv2
```
