unknown error: Traceback (most recent call last): File "class/flask_sockets.py", line 30, in call handler, values = adapter.match() File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match raise NotFound() werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "class/ssh_terminal.py", line 113, in connect pkey = paramiko.RSAKey.from_private_key(p_file) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/pkey.py", line 263, in from_private_key key = cls(file_obj=file_obj, password=password) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/rsakey.py", line 52, in init self._from_private_key(file_obj, password) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/rsakey.py", line 178, in from_private_key data = self.read_private_key("RSA", file_obj, password) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/pkey.py", line 331, in read_private_key raise SSHException("not a valid {} private key file".format(tag)) paramiko.ssh_exception.SSHException: not a valid RSA private key file During handling of the above exception, another exception occurred: Traceback (most recent call last): File "class/ssh_terminal.py", line 117, in connect pkey = paramiko.Ed25519Key.from_private_key(p_file) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/pkey.py", line 263, in from_private_key key = cls(file_obj=file_obj, password=password) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/ed25519key.py", line 60, in init pkformat, data = self.read_private_key("OPENSSH", file_obj) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/pkey.py", line 331, in read_private_key raise SSHException("not a valid {} private key file".format(tag)) paramiko.ssh_exception.SSHException: not a valid OPENSSH private key file During handling of the above exception, another exception occurred: Traceback (most recent call last): File "class/ssh_terminal.py", line 121, in connect pkey = paramiko.ECDSAKey.from_private_key(p_file) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/pkey.py", line 263, in from_private_key key = cls(file_obj=file_obj, password=password) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/ecdsakey.py", line 123, in init self.from_private_key(file_obj, password) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/ecdsakey.py", line 281, in from_private_key data = self.read_private_key("EC", file_obj, password) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/pkey.py", line 331, in read_private_key raise SSHException("not a valid {} private key file".format(tag)) paramiko.ssh_exception.SSHException: not a valid EC private key file During handling of the above exception, another exception occurred: Traceback (most recent call last): File "class/ssh_terminal.py", line 124, in connect pkey = paramiko.DSSKey.from_private_key(p_file) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/pkey.py", line 263, in from_private_key key = cls(file_obj=file_obj, password=password) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/dsskey.py", line 62, in init self.from_private_key(file_obj, password) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/dsskey.py", line 229, in from_private_key data = self.read_private_key("DSA", file_obj, password) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/pkey.py", line 331, in _read_private_key raise SSHException("not a valid {} private key file".format(tag)) paramiko.ssh_exception.SSHException: not a valid DSA private key file
I got this error when I try to login to the local server.