@whyour/qinglong 0.9.1 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docker/Dockerfile +1 -0
- package/package.json +1 -1
- package/shell/start.sh +2 -2
- package/static/build/services/sshKey.js +1 -1
package/docker/Dockerfile
CHANGED
package/package.json
CHANGED
package/shell/start.sh
CHANGED
|
@@ -47,10 +47,10 @@ if [[ $os_name == 'alpine' ]]; then
|
|
|
47
47
|
netcat-openbsd
|
|
48
48
|
elif [[ $os_name == 'debian' ]] || [[ $os_name == 'ubuntu' ]]; then
|
|
49
49
|
apt update
|
|
50
|
-
apt install -y git curl wget tzdata perl openssl jq nginx procps netcat
|
|
50
|
+
apt install -y git curl wget tzdata perl openssl jq nginx procps netcat openssh-client
|
|
51
51
|
elif [[ $os_name == 'centos' ]]; then
|
|
52
52
|
yum update
|
|
53
|
-
yum install -y epel-release git curl wget tzdata perl openssl jq nginx procps netcat
|
|
53
|
+
yum install -y epel-release git curl wget tzdata perl openssl jq nginx procps netcat openssh-client
|
|
54
54
|
else
|
|
55
55
|
echo -e "暂不支持此系统部署 $os_name"
|
|
56
56
|
exit 1
|
|
@@ -90,7 +90,7 @@ let SshKeyService = class SshKeyService {
|
|
|
90
90
|
}
|
|
91
91
|
generateSingleSshConfig(alias, host, proxy) {
|
|
92
92
|
if (host === 'github.com') {
|
|
93
|
-
host = `ssh.github.com\n Port 443\n HostkeyAlgorithms +ssh-rsa
|
|
93
|
+
host = `ssh.github.com\n Port 443\n HostkeyAlgorithms +ssh-rsa`;
|
|
94
94
|
}
|
|
95
95
|
const proxyStr = proxy
|
|
96
96
|
? ` ProxyCommand nc -v -x ${proxy} %h %p 2>/dev/null\n`
|