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.

The Python snippets in VSCode had been disabled, so I have to restore it.

I was wondering why I couldn’t use snippets (completion) in VSCode when writing Python anymore, and I’d found the snippets were removed from Microsoft’s Python Extension in the January 2021 release. Remove code snippets (you can copy the old snippets and use them as your own snippets). (#14781) https://devblogs.microsoft.com/python/python-in-visual-studio-code-january-2021-release/ To bring it back, as written… Continue reading The Python snippets in VSCode had been disabled, so I have to restore it.