Running remote commands after vagrant ssh -


vagrant ssh -- ssh args supposed allow args passed ssh.

vagrant ssh -- -t 'cd /var/www' should ssh vagrant , change directory /var/www, doesn't. instead returns

ssh: not resolve hostname ls: nodename nor servname provided, or not known

what missing?

this works me:

vagrant ssh -- -t 'cd /var/www; /bin/bash' 

Comments

Popular posts from this blog

php - Magento - Deleted Base url key -

javascript - Tooltipster plugin not firing jquery function when button or any click even occur -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -