ssh-session
Create, use and close a ssh session (via control sockets)
Usage
ssh-session mode [args...]
Notes
- Check
Makefilefor installation - Check
SCRIPT_PATH=ssh-session pathfor paths - Mode
newalways creates new session (ignoresSSH_SESSION_USE) - Local working directory is modified before executing the remote shell
Options
Environment variables can be defined to modify behaviour
scriptlibrary: Check documentation for optionsSSH_SESSION_USE: Session (control socket) to useSSH_SESSION_RSH: Remote shell command to use
Dependencies
Executables must be available in PATH
scriptlibraryssh(ifSSH_SESSION_RSHis not defined)