packer-cn/communicator/ssh
Alex Brown 0cea0e5c24 Swap width and height when allocating a pty
RequestPty from crypto/ssh looks like this:

func (s *Session) RequestPty(term string, h, w int, termmodes TerminalModes) error

So arguments 2 and 3 are height and width, respectively. I'm not sure if
the original was just a typo, or if there's an actual reason we want a
40 column terminal. Either way, having a terminal this narrow led me to
a really "fun" bug[0], where `wget` in my shell provisioner scripts
would segfault when trying to display the progress bar.

[0] http://lists.gnu.org/archive/html/bug-wget/2016-02/msg00041.html
2016-04-06 15:40:19 -04:00
..
communicator.go Swap width and height when allocating a pty 2016-04-06 15:40:19 -04:00
communicator_test.go Cleanup some resources we may have created 2015-07-02 03:55:18 -07:00
connect.go communicator/ssh: support for bastion SSH 2015-06-17 22:10:42 +02:00
password.go code.google.com/p/go.crypto/ssh -> golang.org/x/crypto/ssh 2015-05-28 08:17:49 -07:00
password_test.go code.google.com/p/go.crypto/ssh -> golang.org/x/crypto/ssh 2015-05-28 08:17:49 -07:00