[笔记]Windows Cyswin ssh配置及远程控制

简介: [笔记]Windows Cyswin ssh配置及远程控制

前言

一、配置

1.1 安装 Cygwin

官网下载 http://www.cygwin.com/

1.2 Cygwin安装时搜索安装ssh

1.3 添加cygwin安装目录至Path环境变量

1.4 配置 SSHD 服务

运行 C:\cygwin64\Cygwin.bat或终端

注意:

可能需要使用管理员权限运行

ssh-host-config

1.5 添加 sshd连接账号

二、使用

2.1 使用配置的连接账号进行登录

2.2 连接远程主机

ssh administrator@192.168.111.130

yes

然后输入密码 就大功告成

三、常见问题

3.1 ssh on cygwin和openssh 冲突 提示 Host key verification failed.

解决方案:

C:\Users\Administrator/.ssh/known_hosts这个路径的known_hosts文件有关你本机ip的 fingerprint删除掉!

再重新连接即可

相关

使用ssh on cygwin进行ssh连接

安装ssh,openssl


相关文章
|
15天前
|
消息中间件 安全 Unix
SSH配置多台服务器之间的免密登陆以及登陆别名
SSH配置多台服务器之间的免密登陆以及登陆别名
26 1
|
2月前
|
Windows
修改Windows服务的配置
修改Windows服务的配置
|
2月前
|
存储 安全 Shell
windows 操作系统隐藏文件夹 .ssh 的作用
windows 操作系统隐藏文件夹 .ssh 的作用
60 0
|
2月前
|
安全 Shell 网络安全
【Git】TortoiseGit(小乌龟)配置SSH和使用
【Git】TortoiseGit(小乌龟)配置SSH和使用
152 0
|
2月前
|
存储 安全 Shell
windows 系统 c 盘 .ssh 文件夹里的 known_hosts 文件的作用
windows 系统 c 盘 .ssh 文件夹里的 known_hosts 文件的作用
69 0
|
2月前
|
安全 Shell 网络安全
windows 系统 c 盘 .ssh 文件夹里的 id_rsa 文件的作用
windows 系统 c 盘 .ssh 文件夹里的 id_rsa 文件的作用
40 0
|
2天前
|
API C++ Windows
windows编程入门_链接错误的配置
windows编程入门_链接错误的配置
7 0
|
10天前
|
网络协议 安全 Shell
配置ssh服务
配置ssh服务
|
18天前
|
Shell 网络安全 开发工具
配置SSH时候,Permission denied问题解决方法
配置SSH时候,Permission denied问题解决方法
35 4
|
1月前
|
应用服务中间件 nginx Windows
windows下快速安装nginx 并配置开机自启动
windows下快速安装nginx 并配置开机自启动
windows下快速安装nginx 并配置开机自启动