Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I want to copy some text/files to clipboard using Cygwin I use

echo filename | clip

Which works great.

When I want to do the same thing after contacting to a (SSH) server, I get an error message.
Apparently this is Cygwin specific, and has to do with something related to graphical interface not working on my instance of Cygwin.

So my question is how I should get the same thing to work on a server (I want to be able to do it using keyboard only).

One thing that can be mentioned about my issue is that "getclip" and "putclip" (e.g. as described here: "Bad address" error when accessing /dev/clipboard in Cygwin ) does not work for me, while just "clip" does.

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.