chore: cleanup temporary test scripts
This commit is contained in:
1 parent
8ff9f1372c
commit
8cfa5bc198
3 files changed
-24
No files matched your search
@@ -1,8 +0,0 @@
|
||||
const { Client } = require('ssh2');
|
||||
const conn = new Client();
|
||||
conn.on('ready', () => {
|
||||
conn.exec('/home/adminbackend/.npm-global/bin/pm2 logs backone-frontend --lines 50 --raw', (err, stream) => {
|
||||
stream.on('data', (d) => process.stdout.write(d));
|
||||
stream.on('close', () => conn.end());
|
||||
});
|
||||
}).connect({ host: '103.185.47.52', port: 2222, username: 'adminbackend', password: 'htEo7x6LsBQiEHHH' });
|
||||
@@ -1,8 +0,0 @@
|
||||
const { Client } = require('ssh2');
|
||||
const conn = new Client();
|
||||
conn.on('ready', () => {
|
||||
conn.exec("cat /home/adminbackend/web/demoplace.my.id/public_html/index.php", (err, stream) => {
|
||||
stream.on('data', (d) => process.stdout.write(d));
|
||||
stream.on('close', () => conn.end());
|
||||
});
|
||||
}).connect({ host: '103.185.47.52', port: 2222, username: 'adminbackend', password: 'htEo7x6LsBQiEHHH' });
|
||||
@@ -1,8 +0,0 @@
|
||||
const { Client } = require('ssh2');
|
||||
const conn = new Client();
|
||||
conn.on('ready', () => {
|
||||
conn.exec("grep -rn 'terhubung' /home/adminbackend/web/demoplace.my.id/public_html 2>/dev/null", (err, stream) => {
|
||||
stream.on('data', (d) => process.stdout.write(d));
|
||||
stream.on('close', () => conn.end());
|
||||
});
|
||||
}).connect({ host: '103.185.47.52', port: 2222, username: 'adminbackend', password: 'htEo7x6LsBQiEHHH' });
|
||||
Reference in new issue
Block a user