Coder Social home page Coder Social logo

Comments (3)

loveqianool avatar loveqianool commented on August 21, 2024 1

好的,如你所说的用 \n 替代换行后,成功启动并连接成功了。
我觉得这个应该写进文档,这样如我们这些小白用户才知道怎么配置。
当然,作为用户我会为我自己的行为负责 :) 谢谢你。

from sshwifty.

nirui avatar nirui commented on August 21, 2024

不知道你的具体配置是什么样的,正确的值应该类似于:

"-----BEGIN RSA PRIVATE KEY-----\nMIIEpQIBAAKCAQEAs1vnAk.....\n-----END RSA PRIVATE KEY-----"

也就是你把私钥文件一行一行粘贴到Sshwifty的配置文件里,然后用\n来替代换行。

注意:目前sshwifty.conf.example.json里的--------- BEGIN RSA PRIVATE KEY ---------其实是不正确的私钥头,正确的应该是-----BEGIN RSA PRIVATE KEY-----(或者你真实私钥的私钥头)。

另外还要注意的是,“预设”功能其实只是一种表单自动填充辅助你在其中指定的值都会被发送给客户端,包括私钥,以便客户端自动填写连接向导的表单。请自行评估这样做的安全性 :)

from sshwifty.

nirui avatar nirui 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.