Open SSH Tunnel with private key stored in S3
Open SSH Tunnel with private key stored in S3 Question: If I run the following code, my SSH Tunnel works perfectly. from sshtunnel import SSHTunnelForwarder tunnel = SSHTunnelForwarder( ssh_host=(SSH_JUMPHOST, SSH_PORT), ssh_username=SSH_USERNAME, ssh_pkey="/path/to/key/in/my/machine", remote_bind_address=( REMOTE_HOST, REMOTE_PORT, ), local_bind_address=("127.0.0.1", 12345), ssh_private_key_password=SSH_PKEY_PASSWORD, ) tunnel.start() # Things happen in the tunnel… However, I want to read a .pem key …