pathos scripts documentation

pathos_connect script

connect to the specified machine and start a ‘server’, ‘tunnel’, or both

Notes

Usage: pathos_connect [hostname] [server] [remoteport] [profile]
[hostname] - name of the host to connect to [server] - name of RPC server (assumes is installed on host) or ‘tunnel’ [remoteport] - remote port to use for communication or ‘tunnel’ [profile] – name of shell profile to source on remote environment

Examples:

$ pathos_connect computer.college.edu ppserver tunnel
Usage: pathos_connect [hostname] [server] [remoteport] [profile]
    [hostname] - name of the host to connect to
    [server] - name of RPC server (assumes is installed on host) or 'tunnel'
    [remoteport] - remote port to use for communication or 'tunnel'
    [profile] -- name of shell profile to source on remote environment
    defaults are: "localhost" "tunnel" "" ""
executing {ssh -N -L 22921:computer.college.edu:15058}'

Server running at port=15058 with pid=4110
Connected to localhost at port=22921
Press <Enter> to kill server

portpicker script

This script prints out an available port number.