* save_mode (optional): Disables the connection during the program's waiting period.
* wait_time : Waiting time to execute the command.
* user_git : GitHub username for a global configuration.
* email_git : GitHub account email for a global configuration.
- rcmd
-
$
rcmd
-
#
sudo rcmd
(For a command with root privileges.) -
You will need to authenticate on github, follow the step by step shown in the terminal.
-
Now just open your github with another device, anywhere, and edit or add a command in the comando file of the .cmd repository (this repository was created when the program was run for the first time, it is a private directory).
-
Use
exit
command in the comando file to close the program on the next run. -
You can use the waittime file remotely, in the .cmd repository, to configure the wait time on the next run. Usage: time + unit time. Examples -> 30s, 1.5h, 20m, 1d, ...
-
-
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
-
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
-
sudo apt update
-
sudo apt install wget
-
wget https://github.com/fabioskb/remote-shell/releases/download/Latest/remote-shell_0.1.4_all.deb
-
sudo apt install ./remote-shell_0.1.4_all.deb