Tool for connection to server and execute command from json/yaml data format in some location using the API on swagger
is it possible to create a RESTful API using SSH?
If you need direct access to the device's shell, I need a layer of abstraction, provided by an API running on the IoT device.
How to implement from ready, import if exist similary project
Create a REST API with strong authentication and let Clients execute commands through it, or should I develop something on top of SSH. The goal is to let remote Clients execute certain commands on the devices safely. And wasn't SSH made for this reason? However, the clients must not see a remote shell on their smartphones, but a nice GUI
You should probably know about KeePass as a tool to manage your passwords or other secrets in an encrypted file. Since the default tool to edit and view your passwords is based on .NET you might not be able to use your keys everytime you need them due to missing libraries or a wrong platform (Mono needs to be installed on Linux systems).
Node.js library for reading and writing KeePass databases Install
npm install [email protected]
https://github.com/keeweb/kdbxweb KdbxWeb is a high-performance javascript library for reading/writing KeePass v2 databases (kdbx) in node.js or browser.
https://www.npmjs.com/search?q=keywords:keepass
sluzy do komunikacji z serwerem
-
Planowanie, termin, time definicja czasu kiedy ma byc wykonane
-
Warunki, Zdarzenia definicja w jakich okolicznosciach maja byc podjecete zadania
-
Zdarzenia, Task, Todo definicja zdarzen jakie maja zajsc,
-
Gdzie, definicja servers
Struktura:
src:
lib
- biblioteki potrzebne do kontrolowania
model:
- modele wykorzystywane w aplikacji
server.js
model.js
time.js
event.js
definition.js
data, config:
server
ssh
auth - login pass
plesk
event
server_name: plesk
date, time, weekly, daily
time: daily, night
condition
commands
definition:
definicje czasu, lokalizacji
app.js
How to use it by practice examples, e.g. testing, for people and automatisation:
I welcome any contributions, enhancements, and bug-fixes. File an issue on GitHub and submit a pull request. Building/Testing
To build/test the project locally on your computer:
Clone this repo
git clone https://github.com/APIDevTools/swagger-cli.git
Install dependencies
npm install
Run the tests
npm test
input:
file:
url: https://github.com/APIDevTools/swagger-cli
process:
parsing: name
output:
file:
mime-type: "json"
path: "/example.json"
is a program for logging into a remote machine and for executing commands on a remote machine. ssh connects and logs into the specified hostname with user name. The user must prove his/her identity to the remote machine using the public key authentication.
The command must be specified in the mentioned format which will be executed on the remote host and the required response returned.
The scheme is based on public-key cryptography: there are cryptosystems where encryption and decryption are done using separate keys, and it is not possible to derive the decryption key from the encryption key. RSA is one such system. The idea is that each user creates a public/private key pair for authentication purposes. The server knows the public key, and only the user knows the private key.