使用ssh远程连接开发板

来源:互联网 发布:网络保本理财产品排行 编辑:程序博客网 时间:2024/05/24 06:49

准备

  • 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等工具登录

0 0
原创粉丝点击