# Scp error: lsetup

**URL:** <https://root-forum.cern.ch/t/scp-error-lsetup/39676>\
**Category:** Newbie\
**Created:** [May 29, 2020, 8:54pm UTC](https://root-forum.cern.ch/t/scp-error-lsetup/39676 "2020-05-29T20:54:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jcrosby](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/jcrosby/32/23095_2.png) [@Jcrosby](https://root-forum.cern.ch/u/Jcrosby)\
**Post date:** [May 29, 2020, 8:54pm UTC](https://root-forum.cern.ch/t/scp-error-lsetup/39676/1 "2020-05-29T20:54:06Z")

</div>

Hello!

I am having an issue using scp to download a file from lxplus to my home directory. I’m writing:

scp jcrosby@lxplus.cern.ch:/afs/cern.ch/work/j/jcrosby/public/topana/somefile.h .

Which outputs:

Warning: Permanently added the ECDSA host key for IP address…  
Password: …

Then I get:  
\033[7mlsetup \033[0m lsetup […] (see lsetup -h):

Then the file doesn’t download. I’m thinking it may be something simple but I haven’t been able to figure it out. Thanks in advance.

\_ROOT Version: 6.23/01  
\_Platform: Ubuntu on Virtual Machine  
\_Compiler:

* * *

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [May 30, 2020, 9:43am UTC](https://root-forum.cern.ch/t/scp-error-lsetup/39676/2 "2020-05-30T09:43:41Z")

</div>

This is COMPLETELY unrelated to ROOT.  
Contact e.g. [CERN Service Desk](http://information-technology.web.cern.ch/help).

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [June 1, 2020, 5:40pm UTC](https://root-forum.cern.ch/t/scp-error-lsetup/39676/3 "2020-06-01T17:40:17Z")

</div>

Hi @Jcrosby,  
and welcome to the ROOT forum. As @Wile_E_Coyote says, and error when copying files with `scp` is not related to ROOT. My guess is that you have a command in your `.bashrc` or `.profile` file that trips up `scp`, but you might have more luck on different help platforms.

Cheers,  
Enrico

---

<div class="post-metadata">

**Author:** ![Jcrosby](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/jcrosby/32/23095_2.png) [@Jcrosby](https://root-forum.cern.ch/u/Jcrosby)\
**Post date:** [August 11, 2020, 10:02pm UTC](https://root-forum.cern.ch/t/scp-error-lsetup/39676/4 "2020-08-11T22:02:57Z")

</div>

Thanks for helping out even though it isn’t directly related to ROOT. The issue was I had ‘lsetup “root 6.14.04-x86\_64-slc6-gcc62-opt”’ in my .bashrc. This was causing issues in scp. Everything worked fine when it was removed.
