xebialabs/overthere — Issue #33: Allow user to specify pty to allocate
Author: vpartington
Created: 2012-01-09 12:46:15+00:00
State: open

The allocateDefaultPty option will allocate a TTY for the terminal type "dummy" with 80 columns and 24 rows and a height and width of 0 (see the method allocateDefaultPty in https://github.com/shikhar/sshj/blob/master/src/main/java/net/schmizz/sshj/connection/channel/direct/SessionChannel.java). This fails on SSH server that do not recognize the "dummy" terminal type, e.g. WinSSHD.

Add an option to specify which TTY to allocate (e.g. "xterm") and what dimensions to use and call it "allocatePty".