美文网首页
Ubuntu 安装、开启和使用 SSH

Ubuntu 安装、开启和使用 SSH

作者: f51a4fdf4335 | 来源:发表于2018-05-09 18:15 被阅读0次

// 安装
$ sudo apt-get install openssh-server

// 启动 ssh 服务
$ sudo /etc/init.d/ssh start

// 停止 ssh 服务
$ sudo /etc/init.d/ssh stop

*// 查看本地 IP *
$ ifconfig -a

*// 从远程通过 ssh 链接 Ubuntu 服务器
$ ssh <user>@<IP>

相关文章

网友评论

      本文标题:Ubuntu 安装、开启和使用 SSH

      本文链接:https://www.haomeiwen.com/subject/xcdorftx.html