Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

How to copy a file from home directory User A to home directory of User B using telnet.

share|improve this question
Telnet from where to where? Which operating systems? – Nils Sep 12 '12 at 19:48
Except for communication with really low-end devices, please banish telnet servers from your network. Use ssh. And if you're just using telnet as a tool to transfer data, not for logins, see netcat—unlike telnet, it defaults to binary clean. – derobert Sep 12 '12 at 19:53

Is it a strict requirement, that you have to use telnet to accomplish the task? If not, please consider using an ssh connection to the server.

ssh username@domain.com

At command line after giving a password:
cp /home/of/user/A/fileX /home/of/user/B

These commands would do the trick in that case.

share|improve this answer

Your Answer


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.