NodeJS / SSH execution

Encerrado Postado há 4 anos Pago na entrega
Encerrado

Before you get excited and say, "I can just use simple ssh" I'm not so sure. The target devices are running BusyBox.

There are a few aspects of this.

1) I don't want it to have to add the SSH key

2) I don't want to shell out to plink

Functions that we need to provide:

1) We need to log in over SSH and execute `free` and get the RAM percentage used

2) We need to log in over SSH and execute a `reboot` command

3) We need to log in over SSH and then exit.

On 3), it's important, because we have a `profile` file which, upon login starts a script running, which remains running even after we log out. This means that we need to open a full SSH context, as though we did with Putty.

In my experience, using simple ssh, it doesn't seem to do these. Either it's being blocked, or it's failing to be able to do function (3) and perhaps functions (1) and (2)

I will be using your functions to orchestrate scheduled reboots if RAM is too high, as well as log in to fire up the scripts that are running upon login.

Example of `free` output:

```

Device-BZ.v4.0.54# free

total used free shared buffers cached

Mem: 125608 78268 47340 316 0 38356

-/+ buffers/cache: 39912 85696

Swap: 0 0 0

Device-BZ.v4.0.54#

Node.js Linux Ubuntu JavaScript Amazon Web Services

ID do Projeto: #21012273

Sobre o projeto

10 propostas Projeto remoto Ativo em há 4 anos

10 freelancers estão ofertando em média $22/hora nesse trabalho

bluebear1888

How do you do? I'm very happy to have a chance of bidding your project. I have read carefully the descriptions and understood clearly what you want. I have experience in development of the projects like yours If you hi Mais

$20 USD / hora
(24 Comentários)
4.8
gdmlnx

hey there, I might help, lets chat and see what you have done so far. over 10 years of unix and unix like sysadmin. featuring Unix: Solaris, Hp-UX, AIX GNU/Linux (Red Hat, Slackware, Debian, ubuntu serv Mais

$20 USD / hora
(7 Comentários)
3.8
adicoman

Hi, I am very interested to work on your project. I have 17+ years experience in Web Development using a large variety of programming languages, frameworks, database architecture, APIs, CRMs, ERPs, mobile development Mais

$27 USD / hora
(6 Comentários)
3.8
mere3ortal

Hello, What you describe can be done with Python; this kind of work is exactly what the Paramiko library was designed for. If Python is OK with you, let me know and we can discuss. What is the platform from which you Mais

$25 USD / hora
(2 Comentários)
1.5
mikalair

Hello! I'm backend developer with high Linux admin skills. I'm very intrested in your project. ---- Добрый день. Заинтересован в Вашем проекте.

$20 USD / hora
(0 Comentários)
0.0
sparekh3088

Hi, This is something that seems to be very interesting job for me. I have a very good knowledge of working with AWS, NodeJS, Linux and Ubuntu. I have 6+ years of experience and since last 3+ years doing very well wit Mais

$15 USD / hora
(0 Comentários)
0.0
CanvasInfotech10

Hello Sir, I read through the job details extremely carefully and I am absolutely sure that I can do the project very well. I can achieve the results with my team of developers, designers, QA and Project Manager an Mais

$20 USD / hora
(0 Comentários)
0.0