zoukankan      html  css  js  c++  java
  • 在Ubuntu 桌面版 12.04 LTS安装并运行SSH

    第一步:安装openssh-server

    #sudo apt-get install openssh-server

    第二步:查看ssh服务是否已经运行,执行

    #ps -e | grep ssh

    执行完后可以看到ssh-agent和sshd都运行了。

    第三步:重启shh服务

    #service sshd restart

    第四步:从别的机器上用secureCRT登录Ubundu机器,输入用户名密码,终端显示:

    Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic-pae i686)

     * Documentation:  https://help.ubuntu.com/


    The programs included with the Ubuntu system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
    applicable law.

    hy@hy-Aspire-SA10:~$ pwd
    /home/hy

    这说明SSH服务已经成功了。

    至此全文结束,有问题还望您提出。

  • 相关阅读:
    实线矢量元素提取
    matlab写txt文件
    matlab之boundary()函数
    matlab之flipud()函数
    matlab unique()函数
    KD-tree
    matlab之细胞数组
    matlab的代码注释
    matlab中的try...catch...end
    (转)MySQL 加锁处理分析
  • 原文地址:https://www.cnblogs.com/heyang78/p/3283817.html
Copyright © 2011-2022 走看看