Ticket #77 (new enhancement)

Opened 5 years ago

Last modified 3 years ago

harden sshTunnel

Reported by: mmckerns Owned by: mmckerns
Priority: critical Milestone: pathos-0.3a
Component: pathos Keywords:
Cc:

Description (last modified by mmckerns) (diff)

harden sshTunnel

Change History

comment:1 Changed 5 years ago by mmckerns

see scipy conference pub for pseudo-code.

also these additional comments from Mike McKerns & Pavol Juhas:

  • (see comments in pathos/pathos/Tunnel.py)
  • add tunnel._rport, tunnel._rhost, tunnel._lport
  • option to kill/cleanup ppserver/sshd at local python exit
  • serve should have cleanup built in as an option
  • throw error when things 'go wrong' on serve, then cleanup
  • throw error when ncpus=0 and servers=()
  • to couple ppserver to terminal and tunnel
    • ssh -t -L 1234:login.cacr.caltech.edu:5678 login.cacr.caltech.edu ppserver.py -p 5678
  • easy way to launch multiple servers to bg/fg, and kill
  • make toggle of blocking/nonblocking easy

comment:2 Changed 5 years ago by mmckerns

  • Summary changed from catch port references in tunnel proxy to harden sshTunnel
  • Description modified (diff)
  • Milestone changed from pathos-0.1a2 to pathos-0.1a3

split off the portion that corresponds to the scipy conf paper with the remaining feature enhancements.

This add tunnel._rport, tunnel._rhost, tunnel._lport and possibly tunnel._name goes to ticket #99.

comment:3 Changed 5 years ago by mmckerns

  • Type changed from defect to enhancement

comment:4 Changed 3 years ago by mmckerns

need: better capture of child pids, use login shell, ability to trigger "use" (or similar) for dynamic package loading into login shell

Note: See TracTickets for help on using tickets.