About
Linux
設定 Linux (Ubuntu) SSH
By BrianHsu
07 June 2021
# apt-get install ssh
# apt-get install openssh-server
設定 ssh config
# vim /etc/ssh/sshd_config
Port
22
PasswordAuthentication yes
PermitRootLogin yes
# 是否開放 root 登入
重啟服務
/etc/init.d/ssh restart
This site uses cookies. By continuing to use this website, you agree to their use.
I Accept