zoukankan      html  css  js  c++  java
  • 使用XShell连接Cygwin June

    1. 安装cygwin, 并安装sshd.(跟openssh有关的都选上^^)
    2. 打开cygwin控制台:输入ssh-host-config,一路yes.(如果vista或者win7,需要右键->管理员身份运行 cygwin)
    部分屏幕显示:

    $ ssh-host-config
    Overwrite existing /etc/ssh_config file? (yes/no) yes
    Generating /etc/ssh_config file
    Overwrite existing /etc/sshd_config file? (yes/no) yes
    Privilege separation is set to yes by default since OpenSSH 3.3.
    However, this requires a non-privileged account called 'sshd'.
    For more info on privilege separation read /usr/share/doc/openssh/README.privsep.

    Should privilege separation be used? (yes/no) yes
    Generating /etc/sshd_config file

    Host configuration finished. Have fun!

    3. 提示安装成功. cygwin控制台 输入net start sshd, 启动 ssh服务.
    $ net start sshd
    CYGWIN sshd 服务正在启动 .
    CYGWIN sshd 服务已经启动成功。
    4.修改默认Administrator密码

    $passwd Administrator

    5.使用XShell连接localshot,用户名密码为 Administrator和密码

  • 相关阅读:
    文本溢出隐藏与定位
    css基本属性 内边距 外边距及盒模型
    CSS基本属性2
    CSS基本属性
    CSS入门
    表格与表单
    列表与图片
    html标签类型
    HashMap和HashTable
    Map接口
  • 原文地址:https://www.cnblogs.com/zebra/p/2424382.html
Copyright © 2011-2022 走看看