If I vagrant ssh with cmd windows, I get a nice command line, for example:
vagrant@homestead :~$ echo foo vagrant@homestead :~$ foo
But with cygwin and mintty, I have no hint at all:
echo foo foo
I see that this is due to the "pseudo-tty distribution".
With cygwin and mintty, I can get an invitation with this:
vagrant ssh -- -t -t
How can I change cygwin and mintty so that I don't need to specify -t ?
About the ssh -t option:
"Forced distribution of pseudo-tty. This can be used to perform screen-based arbi- trary on a remote machine, which can be very useful, for example, when implementing menu services. Several -t options force tty, even if ssh does not have local tty . "
source share