Coder Social home page Coder Social logo

预设能否一键连接 about sshwifty HOT 2 CLOSED

nirui avatar nirui commented on August 21, 2024
预设能否一键连接

from sshwifty.

Comments (2)

nirui avatar nirui commented on August 21, 2024

你好,

就软件现在的设计,要实现一点即连比较困难。因为:首先,预设功能其实只是在自动填写表单,代码和流程与手动填写表单是一致的;其次,让用户手动进行完成连接流程,也可以给用户一个确认输入的机会。而且,一旦用户完成了连接,“Known Remotes”列表上就会出现刚才连接的客户端项了,用户可以点击该项来进行后续的连接,在实际情况下大多数时候用户只需要使用一次预设即可。

关于从文件加载预设值的功能,这个正在实现。方案类似于你提到的 "Private Key": "/id_rsa_nopass",只是增加了前缀,即:

  • 当配置值无前缀时,配置值是值本身(即原先的方式);
  • 当配置值包含“file://”前缀,如file:///tmp/pubkey时,则从文件/tmp/pubkey加载配置值的内容。

这样可以在解决配置文件过大问题的同时避免破坏配置文件的兼容性。

from sshwifty.

loveqianool avatar loveqianool commented on August 21, 2024

好的,谢谢你。

from sshwifty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.