Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to disable Copy & Paste on Linux so that people using Putty or any other ssh client can't copy & paste from the server to their own machine?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

You wouldn't be able to disable the functionality of another machine's rendering of the output your server sends to it.

The output on putty uses the rules setup in Putty for copying the data displayed on the screen. Meaning that the data displayed on the screen is the output from your server to the terminal and the source (Linux) no longer has control of that data.

You could change the installed options for each of the terminals connecting to your server assuming you have admin power over those machines as well.

As a suggestion for controlling things on the server side I would restrict the ability to display data that you wouldn't want copy/pasted or restrict access to the server at all from ssh for users. Meaning you could wrap a lot of functions in sudo or not allow access to databases or portions of the file system.

share|improve this answer

No; copy and paste happens on the client side and is invisible to you.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.