admin管理员组文章数量:1566674
OpenSSH的安装配置:
下载地址:
http://sourceforge/projects/sshwindows/files/OpenSSH for Windows - Release/3.8p1-1 20040709 Build/setupssh381-20040709.zip/download
1. 默认安装
2. 补上cygintl-2.dll和cygwin1.dll
下载:http://samanthahalfon/resources/cygwin_includes.zip(这个网站打不开,之后换个地方试一试好了)
将它们复制到c:\Program Files (x86)\OpenSSH\bin目录下,如果提示覆盖,则覆盖之,不然进行下面操作,会提示
不能启动opensshd服务
OpenSSH Error 1067:The process terminated unexpectedly
3. 开始安装
cd "c:\Program Files (x86)\OpenSSH\bin"
mkgroup -l >> ..\etc\group
mkpasswd -l [-u <username>] >> ..\etc\passwd
比如:
mkpasswd -l
cd ..\..\etc
..\bin\chown mxio *
4. 启动opensshd服务
net start opensshd
5. 测试连接
ssh mxio@localhost
因为无法打开上面那个网站下载补丁,因此安装了mobassh
MobaSSH:
下载地址:http://mobassh.mobatek/download-home-edition.html
默认安装
测试本机连通性:
安装好之后打开客户端,在setting里勾选Enable Cron Service并重启
安装好一个ssh客户端,如putty或者SSH secure shell都可以,设置host name为127.0.0.1,user name为当前客户机登录用户名,如admin,其他默认
如果成功则显示:
--------------------------------------------------------------------------
| MobaSSH Home v1.60 |
| (SSH server for Win32 based on Cygwin/OpenSSH) |
| |
| Important |
| - Your computer drives are accessible through the /cygdrive directory |
| - Network shares are accessible by typing //<remote_computer> |
| - The Windows registry is browsable through the /registry path |
| |
| Useful commands |
| - MobaHwInfo: detailed information about OS and hardware |
| - MobaSwInfo: installed programs list |
| - MobaTaskList, MobaKillTask: list/kill Windows tasks |
| - TCPCapture: Network packets and ports monitoring tool |
| - scp, sftp: transfer files through the crypted ssh connexion |
| - nedit, vim: text editors with syntax highlighting |
| - rsync, wget: sync local directories with network computers |
| |
| This version is for personal use or evaluation purposes only |
| For information please visit: http://mobassh.mobatek/versions.php |
--------------------------------------------------------------------------
[Fri Jan 13 - 10:32:32] ~
[admin.admin-PC] $
版权声明:本文标题:Win7安转ssh(openssh和mobassh) 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dianzi/1726891277a1088881.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论