How can I force `vagrant ssh` to do pseudo-tty allocation? -


the first thing after vagrant ssh attaching tmux session.

i want automate this, try: vagrant ssh -c "tmux attach", fails , says "not terminal".

after googling find this article , know should force pseudo-tty allocation before executing screen-based program, , can done -t option of ssh.

but don't know how use option vagrant ssh.

according this documentation, should try adding -- command.
have not used vagrant, unsure of formatting, assume similar to:

vagrant ssh -- -t

unless, need include username , host, in case add username , host.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -