顯示具有 SSH 標籤的文章。 顯示所有文章
顯示具有 SSH 標籤的文章。 顯示所有文章

2021年2月22日 星期一

在Debian開啟SSH

 1. vi /etc/ssh/sshd_config

設定以下參數設定

PasswordAuthentication yes

PermitRootLogin yes


2. 啟動SSH

/etc/init.d/ssh start 或 service ssh start

3. 設定成自動啟動

update-rc.d ssh enable