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
Post a Comment