Scp error: lsetup

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:


This is COMPLETELY unrelated to ROOT.
Contact e.g. CERN Service Desk.

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

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.

1 Like