Project

General

Profile

Feature #17170

Updated by Peter Amstutz over 3 years ago

Initial proof of concept: go program that runs ssh server that runs bash.    Confirm that connecting with ssh gets a working pseudoterminal and that signals and control characters (e.g. SIGWINCH, backspace) work correctly.    Fullscreen interactive programs like @less@ should work. 

 https://godoc.org/golang.org/x/crypto/ssh#example-NewServerConn 

 Minimum viable feature, once we've confirm the proof of concept: 

 * Crunch-run updates the container record with the IP address and port where it is listening (need to add new database column?) 
 * Connect to crunch-run with ssh 
 * Accept a token for password authentication 
 * run "docker exec -ti" on the container with stdin/stdout/stderr connected. 

Back