[ 
https://issues.apache.org/jira/browse/GUACAMOLE-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16284621#comment-16284621
 ] 

Xiaoguang Wang commented on GUACAMOLE-459:
------------------------------------------

Well, in my opinion this behavior depends.

For example, most modern terminal emulators in Linux distributions, the default 
Term in macOS, the iTerm2 in macOS, and XShell/SecurCRT in Windows, all their 
default right-click behavior is not to paste. The only auto-paste with 
right-click I can remember is PuTTY.

So for most users nowadays, their first thought of right-click is to show a 
context menu, not to paste the content in clipboard.
And, if a user is using macOS with two-finger tap for right-click, the 
mis-touch may cause unwanted auto-paste.

Anyway, precise behaviors are good for daily usage. It is horrible if there is 
something like "rm xxx" in the clipboard and then the auto-paste behavior 
triggered by mistake.

Guacamole is the best gateway I ever meet, if there is a dialog to confirm the 
paste action, it would make the users (and administrators) feel easy.


> SSH auto-paste with right-click is very dangerous and may cause mal-operations
> ------------------------------------------------------------------------------
>
>                 Key: GUACAMOLE-459
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-459
>             Project: Guacamole
>          Issue Type: Improvement
>          Components: SSH
>            Reporter: Xiaoguang Wang
>
> SSH auto-paste with right-click is very dangerous and may cause 
> mal-operations.
> Usually the user won't know what is in his clipboard. When he right-clicks, 
> the unknown commands get executed in SSH.
> I think this should be improved. eg:
> 1. add a option to disable this right-click-auto-paste feature
> 2. make a dialog to confirm the auto-paste
> 3. right click triggers a context menu



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to