Take the 2-minute tour ×
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.

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 192.163.119.21:/tmp
Password:
Sourcing /root/.profile-EIS.....
root@ark123

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

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

1 Answer

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
add comment

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.