xsank / webssh

WebSSH is a simple web project which support login linux server with explorer.
http://xsank.github.io/webssh/
MIT License
580 stars 221 forks source link

支持密钥方式登录服务器 #24

Closed staugur closed 7 years ago

staugur commented 7 years ago

加了用私钥登录验证的方式:

  1. 前端注释了password验证,增加私钥文本框;
  2. 私钥可以无密和有密:当其文本框存在值便采用其登录,私钥密码是password值;
  3. paramiko建立连接时首先判断是否可以采用私钥登录。
xsank commented 7 years ago

感谢增加密钥登录功能