Menu

10/17/26

Allow SSH Debian linux

 


apt update

apt install openssh-server -y

systemctl enable --now ssh

systemctl status ssh

 

 

nano /etc/ssh/sshd_config

PermitRootLogin yes

Bấm Ctrl + O sau đó bấm Enter để lưu.

Bấm Ctrl + X để thoát.

 

systemctl restart ssh

ip a

ssh root@dia_chi_ip_debian

No comments:

Post a Comment