Every time I connect to my ec2 server with Microsoft's "Remote - SSH" VSCode extention it crashes my server and I have to manually goto the AWS console and stop/start the instance. Is there any way to fix this? I am also using venv, if that has anything to do with it. When it disconnects it gives no errors and it just says "Setting up SSH Host [server ip].
Server Tier: t2.micro
Server OS: Ubuntu 22.04
Python 3.10.4