def generate_ssh_key():
key = rsa.generate_private_key(<EOL>backend=default_backend(),<EOL>public_exponent=<NUM_LIT>,<EOL>key_size=<NUM_LIT><EOL>)<EOL>private_key = key.private_bytes(<EOL>serialization.Encoding.PEM,<EOL>serialization.PrivateFormat.PKCS8,<EOL>serialization.NoEncryption())<EOL>public_key = key.public_key().public_bytes(<EOL>serialization.Encoding.OpenSSH,<EOL>serialization.PublicFormat.OpenSSH<EOL>)<EOL>return private_key, public_key<EOL>
Generates an SSH deploy public and private key.

Returns (private key, public key), a tuple of byte strings.