Fix errors PuTTY with server SSH

21 Nov, 2022


Error: No supported authentication methods available

  • Error in client: no supported authentication methods available (server sent publickey)
  • Error in server: key type ssh-rsa not in PubkeyAcceptedAlgorithms

Add ssh-rsa to PubkeyAcceptedAlgorithms

# nano /etc/ssh/sshd_config

HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
PubkeyAuthentication yes

Verify your configuration

# sshd -t

Restart sshd

# systemctl restart sshd

Clean Docker Daemon

7 Sep, 2022


Clean Logs

for l in $(docker inspect --format='{{.LogPath}}' $(docker ps -q)); do
  echo "" > $l

Clean images

docker rmi $(docker images -a --filter=dangling=true -q)

Clean containers with filtered by status

docker rm $(docker ps --filter=status=exited --filter=status=created -q)

Rotate Docker daemon logs

Edit: /etc/docker/daemon.json

  "log-driver": "json-file",
  "log-opts": {"max-size": "10m", "max-file": "3"}

Install AMD drivers for Linux (Debian/Ubuntu)

11 Dec, 2020


Download and isntall amdgpu-install

curl -SL -o amdgpu-install_21.40.1.40501-1_all.deb
sudo apt-get install ./amdgpu-install_21.40.1.40501-1_all.deb
sudo apt-get update

Execute amdgpu-install

amdgpu-install --usecase=graphics,opencl --opencl=rocr,legacy --vulkan=amdvlk,pro --no-32
sudo reboot