Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Looks like I forgot the -t flag to the second ssh. It works with

$ssh -t user@host1 '
screen -mS sage ssh -t host2 sh -c '\''cd /path/to/working/directory;sage'\'''