sm702 发表于 2019-2-19 09:24:20

Ubuntu安装SSH服务

  大家知道!刚刚抓更好的Ubuntu系统中,是不可以使用SSH服务的,我说的是新版本的Ubuntu。直接进入主题安装方法
  第一步:进入终端敲
  sudo apt-get install openssh-server
  等待安装完成
http://s1.运维网.com/images/20180330/1522395801194774.png
  第二步:测试是否安装成功
  ps -s | grep ssh
http://s1.运维网.com/images/20180330/1522395835775368.png
  第三步启动:
  /etc/init.d/ssh start
http://s1.运维网.com/images/20180330/1522395864609795.png
  第四步:查看IP
  ifconfig
http://s1.运维网.com/images/20180330/1522395898800061.png
  第五步:外部链接
http://s1.运维网.com/images/20180330/1522396062707057.png
  链接成功的效果:
http://s1.运维网.com/images/20180330/1522396100510627.png



页: [1]
查看完整版本: Ubuntu安装SSH服务