Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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

I'm trying to use scp from one Solaris machine to another, but I get this message and the copy fails:

root@ark123 # scp -r emcgrab_SunOS_v4.4.4a.tar
Sourcing /root/.profile-EIS.....

What does this mean? How do I fix it so scp will work?

share|improve this question
please give the output of scp -r -v emcgrab_SunOS_v4.4.4a.tar – harish.venkat Feb 5 '12 at 9:43
Also, can you copy the file with another user? Using root is not the best practice. – Patkos Csaba Feb 5 '12 at 11:41

Tools like scp and rsync can get confused if your configuration files produce output even for non-interactive logins. Remove whatever prints out Sourcing /root/.profile-EIS...... It's probably in your ~/.bashrc: oddly, bash loads this file for non-login interactive shells and for non-interactive login shells whose parent is rshd or sshd.

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.