on 2012-10-19 16:50 LuKreme wrote
Basically, what I want to do is simply have an alias that does both of these 
commands:

1) ssh [email protected]
2) screen -DRRS Fred

without having to remember to actually do the screen command. The trouble is, 
an alias will execute the ssh, and then execute the screen command AFTER the 
ssh terminates, not sending it to execute eon the remote Mac.

this works for me:

  alias mycmd ="ssh -t [email protected] 'screen -DRRS Fred'"

_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to