diff --git a/README.md b/README.md index 0f0adcb2..97e29138 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,23 @@ +## 我的修改 +增加生成SSH Link功能,方便收藏,下次使用不需要输入密码。 +![image](https://github.com/crazypeace/huashengdun-webssh/assets/665889/123a33bd-9514-46a5-8e64-d7a82b7f6f19) + +SSH Link 可以带一个命令参数. 登录完成后就执行命令. +[![](https://res.cloudinary.com/marcomontalbano/image/upload/v1726912439/video_to_markdown/images/youtube--hCoAy06NA4k-c05b58ac6eb4c4700831b2b3070cd403.jpg)](https://www.youtube.com/watch?v=hCoAy06NA4k "") + +部署到容器的教程: +https://zelikk.blogspot.com/2023/10/huashengdun-webssh-codesandbox.html + +部署到Hugging Face的教程 / 作者 Xiang xjfkkk +https://linux.do/t/topic/135264 + +部署到 Serv00 教程 / 作者 Xiang xjfkkk +https://linux.do/t/topic/211113 + + +
+ 原项目readme (点击展开) + ## WebSSH [![python](https://github.com/huashengdun/webssh/actions/workflows/python.yml/badge.svg)](https://github.com/huashengdun/webssh/actions/workflows/python.yml) @@ -210,3 +230,5 @@ wssh --port=8080 --sslport=4433 --certfile='cert.crt' --keyfile='cert.key' --xhe * For whatever deployment choice you choose, don't forget to enable SSL. * By default plain http requests from a public network will be either redirected or blocked and being redirected takes precedence over being blocked. * Try to use reject policy as the missing host key policy along with your verified known_hosts, this will prevent man-in-the-middle attacks. The idea is that it checks the system host keys file("~/.ssh/known_hosts") and the application host keys file("./known_hosts") in order, if the ssh server's hostname is not found or the key is not matched, the connection will be aborted. + +
diff --git a/user.js/Build-SSH-Link.user.js b/user.js/Build-SSH-Link.user.js new file mode 100644 index 00000000..612dfc91 --- /dev/null +++ b/user.js/Build-SSH-Link.user.js @@ -0,0 +1,70 @@ +// ==UserScript== +// @name Build SSH Link +// @namespace http://tampermonkey.net/ +// @version 0.1 +// @description Build SSH link for huashengdun-webssh +// @author ǝɔ∀ǝdʎz∀ɹɔ 👽 +// @match https://ssh.vps.vc/* +// @match https://ssh.hax.co.id/* +// @match https://ssh-crazypeace.koyeb.app/* +// @icon https://www.google.com/s2/favicons?sz=64&domain=koyeb.app +// @grant none +// ==/UserScript== + + +(function() { + 'use strict'; + + // Your code here... + // 获取 form 元素 + var form = document.getElementById("connect"); + + ///////////////////// + // 创建 ` + + +
Github: https://github.com/crazypeace/huashengdun-webssh
+
自建教程: https://zelikk.blogspot.com/search/label/webssh