I was not able to log in to the AAPanel's terminal using a password nor SSH private key.
I had generated a new SSH key for the server using the SSH-Keygen command and that added a passphrase. Did this using SSH Console of server provider.
I am able to login using SSH Keys via Putty on my computer, but when I try to access the AAPanel's terminal, these errors are here. Can anyone guide me to fix it?
unknown error: 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 256, 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 initself._from_private_key(file_obj, password)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/rsakey.py", line 179, 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 334, in read_private_key
data = self.read_private_key_pem(lines, end, password)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/pkey.py", line 386, in _read_private_key_pem raise PasswordRequiredException("Private key file is encrypted") paramiko.ssh_exception.PasswordRequiredException: Private key file is encrypted
During handling of the above exception, another exception occurred: