You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by "Kirchev, Lazar" <l....@sap.com> on 2011/04/04 11:21:06 UTC

Negotiating a terminal type in ssh connection

Hi,

I am new to Apache MINA project. I would like to use the sshd and I would like to know does it provide some means for the client and the server to negotiate the type of terminal (xterm, vt100, etc.) they are using?

Thanks and regads,
Lazar Kirchev

RE: Negotiating a terminal type in ssh connection

Posted by "Kirchev, Lazar" <l....@sap.com>.
Thanks a lot Guillaume,

I think this will be enough for my purpose.

Regards,
Lazar

-----Original Message-----
From: Guillaume Nodet [mailto:gnodet@gmail.com] 
Sent: Tuesday, April 05, 2011 12:43 PM
To: users@mina.apache.org
Subject: Re: Negotiating a terminal type in ssh connection

There's no real negociation afaik.  The ssh protocol does not really
care about the terminal itself, but it allows the client to give
informations to the server side when requesting the pty.
 See http://svn.apache.org/viewvc/mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/client/channel/ChannelShell.java?revision=893392&view=markup


On Mon, Apr 4, 2011 at 11:21, Kirchev, Lazar <l....@sap.com> wrote:
> Hi,
>
> I am new to Apache MINA project. I would like to use the sshd and I would like to know does it provide some means for the client and the server to negotiate the type of terminal (xterm, vt100, etc.) they are using?
>
> Thanks and regads,
> Lazar Kirchev
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: Negotiating a terminal type in ssh connection

Posted by Guillaume Nodet <gn...@gmail.com>.
There's no real negociation afaik.  The ssh protocol does not really
care about the terminal itself, but it allows the client to give
informations to the server side when requesting the pty.
 See http://svn.apache.org/viewvc/mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/client/channel/ChannelShell.java?revision=893392&view=markup


On Mon, Apr 4, 2011 at 11:21, Kirchev, Lazar <l....@sap.com> wrote:
> Hi,
>
> I am new to Apache MINA project. I would like to use the sshd and I would like to know does it provide some means for the client and the server to negotiate the type of terminal (xterm, vt100, etc.) they are using?
>
> Thanks and regads,
> Lazar Kirchev
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com