ubuntu_使用問題04_ssh

# 查看是否安裝ssh-server服務
dpkg -l | grep ssh
# 安裝ssh-server
sudo apt-get install openssh-server
# 再次查看是否安裝ssh-server服務
dpkg -l | grep ssh

# 確認ssh-server是否啓動
ps -e | grep ssh

# 然後重啓SSH服務: 
sudo /etc/init.d/ssh stop 
sudo /etc/init.d/ssh start

參考

ubuntu開啓SSH服務遠程登錄

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章