@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 CHANGED
@@ -41,6 +41,7 @@ RUN set -x && \
41
41
  tzdata \
42
42
  perl \
43
43
  openssl \
44
+ openssh-client \
44
45
  nginx \
45
46
  jq \
46
47
  procps \
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whyour/qinglong",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "Timed task management platform supporting Python3, JavaScript, Shell, Typescript",
5
5
  "repository": {
6
6
  "type": "git",
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\n PubkeyAcceptedAlgorithms +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`