1. 程式人生 > >使用ssh遠端連線開發板

使用ssh遠端連線開發板

準備

  • tiny4412開發板
  • 燒錄Ubuntucore

步驟

1.將開發板聯網
2.安裝ssh服務

sudo apt-get install openssh-server

順帶備忘下相關命令

啟動、停止和重啟SSH:
sudo /etc/init.d/ssh start
sudo /etc/init.d/ssh stop
sudo /etc/init.d/ssh restart
或者
sudo start ssh
sudo stop ssh
sudo restart ssh
解除安裝SSH
sudo stop ssh
apt-get –purge remove openssh-server

3.修改配置檔案

sudo vi /etc/ssh/sshd_config

PermitRootLogin without-password
改成(去掉註釋)
PermitRootLogin yes
讓root使用者登入

4.使用putty等工具登入