mklement0/ttab

Ssh then perform ops?

wrabit opened this issue · 1 comments

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'

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.