Comments (3)
好的,如你所说的用 \n 替代换行后,成功启动并连接成功了。
我觉得这个应该写进文档,这样如我们这些小白用户才知道怎么配置。
当然,作为用户我会为我自己的行为负责 :) 谢谢你。
from sshwifty.
不知道你的具体配置是什么样的,正确的值应该类似于:
"-----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.
我觉得这个应该写进文档,这样如我们这些小白用户才知道怎么配置。
写文档的时候疏忽了,后面会给出正确的例子。
from sshwifty.
Related Issues (20)
- 有没有可能开发这样的功能 HOT 5
- Feature request: light mode HOT 1
- 能否在URL里面带上登录用的参数? HOT 1
- webssh无法连接ipv6机器,显示:connect: cannot assign requested address HOT 5
- MacOS : safari cannot find server HOT 14
- Add homebrew as an install method for macOS HOT 8
- can I generate address with ID, IP address for the direct connect HOT 1
- Default password HOT 4
- time difference - how to sync docker time ? no timezone parameter for this project ? HOT 6
- [enter] keypress is not immediately sent to target HOT 4
- Remote font error on Edge browser HOT 7
- Connecting to the Local Host HOT 1
- Unable to connect to the Sshwifty backend server: TypeError: Cannot read properties of undefined (reading 'importKey') HOT 6
- Terminal canvas not scaling properly on firefox HOT 1
- no common algorithm for key exchange HOT 2
- Terminal optimization suggestions HOT 5
- Network issue : Not sure if it is a bug or I am looking for a feature HOT 2
- Allow multiple authentication methods HOT 1
- [help] 如何在不同的网络环境中获取不同的ssh连接,不和sshwifty容器在同一个网络中 可以用反向代理完成这个功能么? HOT 3
- Private key HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sshwifty.