Ssh then perform ops?
wrabit opened this issue · 1 comments
wrabit commented
Is it possible to, for example:
ssh somesite
cd some/dir
./somescript
Seems that it opens ssh but then doesn't fire the remaining scripts..
ttab 'ssh somesite; cd /home/somewhere'
mklement0 commented
Use the following:
ttab "ssh somesite 'cd /home/somewhere; ...'"
That is, pass the commands to execute in the SSH session as a single string to ssh
, after the hostname.