https://github.com/nkrumahthis/slapc
see logs and pull code
https://github.com/nkrumahthis/slapc
devops git golang laravel ssh ssh-client
Last synced: 2 months ago
JSON representation
see logs and pull code
- Host: GitHub
- URL: https://github.com/nkrumahthis/slapc
- Owner: nkrumahthis
- Created: 2024-01-01T23:31:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-06T23:21:08.000Z (about 2 years ago)
- Last Synced: 2025-07-05T01:44:38.979Z (12 months ago)
- Topics: devops, git, golang, laravel, ssh, ssh-client
- Language: Go
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SLAPC
SSH into server, See logs and pull code.
Written in go, currently mainly for laravel applications on ubuntu servers.
## Setup
Create a new json file called config.json in the same directory as the executable and fill in the following data.
```json
{
"known_hosts": "path/to/known_hosts",
"private_key": "path/to/private_key",
"servers": [
{
"name": "any identifier",
"host": "1.2.3.4",
"port": "22",
"user": "root",
"pass": "password",
"path": "/var/www/html"
}
]
}
```
Add as many server entries as you want to to the servers array.
## Todo
When the config.json file is not found, open the default text editor automatically and save to the right path that slapc will read.