| 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'\'''
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.