You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could this be a cool thing. Have the feature of add custom commands that we often use and arguments to ssh.
Use the -c option to run a command or vagrant ssh with arguments.
Samples
vagrant ssh -c 'sudo service memcached restart'
or
vagrant ssh -- -t 'cd /var/local/www && exec $SHELL'
What do you thing?
The text was updated successfully, but these errors were encountered:
seromenho
changed the title
vagrant ssh -c 'bla bla' and vagrant ssh with arguments
Feature: vagrant ssh -c 'bla bla' and vagrant ssh with arguments
Dec 1, 2014
Could this be a cool thing. Have the feature of add custom commands that we often use and arguments to ssh.
Use the -c option to run a command or vagrant ssh with arguments.
Samples
vagrant ssh -c 'sudo service memcached restart'
or
vagrant ssh -- -t 'cd /var/local/www && exec $SHELL'
What do you thing?
The text was updated successfully, but these errors were encountered: