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和密码

  • 相关阅读:
    阶梯式测试
    websocket协议
    性能指标
    环境变量
    解密断言+参数写入文本
    将参数进行URL编码
    日志级别
    对返回结果进行断言
    python小题目:循环/函数
    如果使用JSON提取器 和正则提取器
  • 原文地址:https://www.cnblogs.com/zebra/p/2424382.html
Copyright © 2011-2022 走看看