Re: SSH client and bracketed paste mode

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On 10/30/20 5:22 PM, Thorsten Glaser wrote:
> Hi,
> 
> lemme correct that for you:
> 
>> Using a terminal with bracketed paste mode (see [0], [1]), I
>> am not able to paste text while being in the "~C" command line
>> mode.
>>
>> The reason for that is, that while being in that special mode,
> the terminal sends the bracketed paste control characters to
> OpenSSH, which does not expect it.
> 
>> I tried to figure out, which of the three involved components
>> might be at fault. The component stack is:
>>
>> * terminal
>> * local shell
>> * ssh
>> * remote shell
> 
> This works as follows:
> 
> • terminal sets up normal operation
> • local shell starts ssh
> • ssh starts remote shell on the terminal
> • remote shell instructs the terminal to switch to bracketed paste mode
> 
> Now when you use an SSH escape, ssh temporarily accesses the
> terminal, but bracketed paste mode is still active, which
> leads to confusion.

It would still be nice if SSH implemented support for it.  Bracketed
paste mode is a useful security feature, when combined with terminals
that refuse to paste control characters.

Sincerely,

Demi

Attachment: OpenPGP_0xB288B55FFF9C22C1.asc
Description: application/pgp-keys

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux