aboutsummaryrefslogtreecommitdiff

ssh-session

Create, use and close a ssh session (via control sockets)

Usage

ssh-session mode [args...]

Notes

  • Check Makefile for installation
  • Check SCRIPT_PATH=ssh-session path for paths
  • Mode new always creates new session (ignores SSH_SESSION_USE)
  • Local working directory is modified before executing the remote shell

Options

Environment variables can be defined to modify behaviour

  • script library: Check documentation for options
  • SSH_SESSION_USE: Session (control socket) to use
  • SSH_SESSION_RSH: Remote shell command to use

Dependencies

Executables must be available in PATH

  • script library
  • ssh (if SSH_SESSION_RSH is not defined)