Server :
Install openssh
sudo pacman -S openssh
vim /etc/ssh/sshd_config
UsePAM yes --> UsePAM no
/usr/bin/ssh-keygen -A
/usr/sbin/sshd -D
Reference:
- Cant ssh, connection terminates immediately with exit status 254
- [SOLVED] SSH: Could not load host key: /etc/ssh/ssh_host_rsa_key
0 意見:
張貼留言