Errors Ubuntu
1
Could not get lock /var/lib/apt/lists/lock. It is held by process 6710 (aptd)
Most likely you are trying to run apt-get update at the same time as a software update. Therefore the aptd daemon does not let you in.
WARNING: UNPROTECTED PRIVATE KEY FILE
In the SSH access log you can get the following error:
Sep 18 15:14:53 960d1011fc2d sshd[374]: error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Sep 18 15:14:53 960d1011fc2d sshd[374]: error: @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ Sep 18 15:14:53 960d1011fc2d sshd[374]: error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Sep 18 15:14:53 960d1011fc2d sshd[374]: error: Permissions 0664 for '/etc/ssh/ssh_host_ed25519_key' are too open. Sep 18 15:14:53 960d1011fc2d sshd[374]: error: It is required that your private key files are NOT accessible by others. Sep 18 15:14:53 960d1011fc2d sshd[374]: error: This private key will be ignored. Sep 18 15:14:53 960d1011fc2d sshd[374]: error: key_load_private: bad permissions Sep 18 15:14:53 960d1011fc2d sshd[374]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key Sep 18 15:14:53 960d1011fc2d sshd[374]: fatal: No supported key exchange algorithms [preauth]
The message is quite detailed, and the obvious solution is to change the key permissions to stricter ones
chmod 600 /ect/ssh/ssh_host_ed25519_key
Force close Chrome
sudo pkill -9 chrome
port 22: Connection refused
ssh: connect to host 192.168.56.146 port 22: Connection refused
The ssh server may not be installed. Installation instructions here
Article author: Andrei Olegovich