One of the things to check when you get a No existing session error in Paramiko’s SSH key authentication is whether the SSH key file is in an old format or not.

While writing a Python script, I encountered the following error in the process of connecting to a remote server. I thought it might be a server issue since it only happened on a specific server, so I did a web search, but didn’t find any specific cases. The error message in auth_publickey caught my eye,… Continue reading One of the things to check when you get a No existing session error in Paramiko’s SSH key authentication is whether the SSH key file is in an old format or not.