When you create your shell on the server side, you may need to take care about tty options that are sent by the client side according to its terminal configuration. Have a look at the ProcessShellFactory for how to handle some of those flags. Most probably, you need to translate any \n to \r\n before sending them to the client. All the pty modes (help available using "man stty") are available using getPtyModes() on the Environment object which is given when the Command is started.
Cheers, Guillaume 2014-02-28 23:26 GMT+01:00 b0nn19 <b0n...@hotmail.com>: > Hi, > > I am using ssh mina server and when I tried to connect to my ssh server > from my ssh unix client I am seeing indentation in the client. See below: > > troy%ssh -p 8001 max > SOCKSifying /usr/local/nms.complied/openssh/current/bin/ssh > 11 > ^^11 > ^^^^^11 > > So everytime I type any characters and enter return the next characters > start below the previous one and not from the beginning of the line. > > I am trying to implement my own shell factory and display customized > banner. But because of this indentation my customized banner is not being > displayed correctly. > > Any help will be greatly appreciated. > > Thanks > > Paul > > >