I guess a lot of folks like me need to work on Windows with remote Linux boxes. This is an integrated solution to easy your daily jobs -- SSH login. The basic idea here is to share your rsa key-pair between different SSH clients.
Several Tools You Might Need:
Generating SSH2 Key-pair:
- Method A: simply issue ssh-keygen in MSYS shell
- Mehotd B: start PUTTYGEN.exe and click "Generate" button.
Method A is recommended because it creates Linux compatible key-pair files and stores the files to $(HOME)/.ssh. In case you don't use MSYS, please follow PuTTY manual for method B to complete SSH authentication with PUTTYGEN.
Setup PuTTY To Use SSH Authentication:
Import MSYS Keys Into PUTTYGEN:
- Conversions Menu > Import Key: import the "id_rsa" file under MSYS $HOME/.ssh
- Click "Save private key" button to save private key to a .ppk file (for PuTTY only)
- Click "Save public key" button to save a public key for PuTTY. (optional)
Config PuTTY:
- start a PuTTY instance (default session)
- browse to Connction > SSH > Auth > "Private key file for authentication"
- points to the .ppk file you just created in above step.
- browse to Session
- click "Default Settings"
- click "Save" button to save current config to your default settings.
Setup TotalCMD SFTP Plugin:
Create key files for SFTP plugin
- start puttygen.exe
- click "Load" buttong to load the .ppk file you created above
- Conversions Menu > Export OpenSSH Key: export a private key (.pem file) for Total Command SFTP plugin
- copy from "Public key for pasting into OpenSSH authorized_keys file"
- paste into a new file named "rsa.pub" (this file is actually same to rsa.pub under MSYS $HOME/.ssh)
Config TotalCMD SFTP Connection: TotalCMD help gives you more detail -- click the '?' button besides "Public key file".
- in TotalCMD, browse to Network Neighbor > Secure FTP
- press F7 to create new connection
- points to .pub file above for public key
- points to .pem file above for private key
Publish your public key to the remote server:
# simply issue below 2 lines of command in MSYS shell
# both of the commands need you to input the password
ssh <user>@<remote_host> mkdir -p .ssh
cat .ssh/id_rsa.pub | ssh <user>@<remote_host> 'cat >> .ssh/authorized_keys'
# now you can forget the password, try this:
ssh <user>@<remote_host>
Check
this article for more information
分享到:
相关推荐
SshClient windows下的ssh客户端 非常好用 SshClient windows下的ssh客户端 非常好用
DameWare SSH Client for Windows 是在由DameWare开发类别 Education Shareware 软件。
本工具一键运行安装ssh服务到windows系统中,实现通过ssh客户端软件远程管理windows服务器,同时内置类linux命令工具,如果你习惯用linux命令,那么你可以用管理linux的方式来管理windows系统,简单易用。...
在windows下,cmd 窗口中使用ssh 命令. 用法: c:\Windows\System32>ssh root@192.168.1.1 . 同linux下一样.
SSH-tectia Client是Windows下一款最佳的SSH连接工具。有了它,连接Linux系统,执行命令,浏览文件等将变得异常轻松。
F-Secure SSH Client for Windows SSH is a packet-based binary protocol that works on top of any transport that will pass a stream of binary data. Normally, TCP/IP is used as the transport, but the ...
Windows中SSH Secure Shell Client 的使用方法doc Windows中SSH Secure Shell Client 的使用方法doc
前端开源库-ssh2-sftp-clientssh2 sftp客户端,节点的ssh2 sftp客户端
SSH_Client,SSH_ClientSSH_ClientSSH_ClientSSH_ClientSSH_Client
ssh-copy-id for windows,支持windows下的ssh-copy-id命令,加入exe所在路径到PATH环境变量即可
Windows远程连接linux SSH Secure Shell Client + SSH Secure File Transfer Client
ssh client ssh client ssh client ssh client ssh client ssh client ssh client ssh client ssh client
windows服务器可以用我们电脑自带的远程连接来进行连接,但是linux服务器就需要下载一款软件来连接管理了。软件有很多,这里我推荐使用Bitvise SSH。不但可以远程管理,还可以图形界面上传文件。
SshClient windows下的ssh客户端
Bitvise SSH Client 8.29,windows版本,远程登录Linux器自动弹出界面,便于本地文件和远端文件管理。
SSH 为 Secure Shell 的缩写,由 IETF 的网络小组所制定;SSH 为建立在应用层基础上的安全协议。SSH 是目前较可靠,专为远程登录会话和其他网络服务提供安全性的协议。利用 SSH 协议可以有效防止远程管理过程中的...
openssh for windows 安装包 安装完openssh,会在openssh目录生成linux文件目录格式,默认会传文件在这目录里。。。 scp /var root@192.168.40.131:/share/test/1.txt
该文件不涉及版权,只是使其合适在WIN10下...SSH Secure Shell Client 软件在WIN10下运行时候窗口不兼容变形,导致设置的OK和cancel按键不出现,无法操作使用的问题。本资源里提供对应版本覆盖即可如XP系统下的使用。
2020 Bitvise SSH 服务端和客户端 BvSsh Bitvise SSH Bitvise SSH Client Bitvise SSH service