Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass through ssh commands #26

Closed
rbrcurtis opened this issue May 1, 2013 · 2 comments
Closed

pass through ssh commands #26

rbrcurtis opened this issue May 1, 2013 · 2 comments

Comments

@rbrcurtis
Copy link

WOuld it be possible to pass through commands to ssh when using tugboat ssh "ls" such that "ls" would gets passed through to ssh to be executed on the remote machine? This would aid significantly in using tugboat in scripting.

Also, I love this tool. Just sayin.

@blom
Copy link
Collaborator

blom commented May 1, 2013

You may already be aware of this, but you can also use a here string or a pipeline:

tugboat ssh hostname <<< ls
echo ls | tugboat ssh hostname

@rbrcurtis
Copy link
Author

I wasn't actually, thanks for the tip, that will work perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants