1

I tried downloading a file from my bluehost account, I'm trying to do it remotely with bash like this

 $ scp [email protected]:/public_html/directory/file.php ~/Desktop/file.php

But it returns this response:

declare -x CLASSPATH=".:/usr/local/jdk/lib/classes.zip"

I don't know if this is an error, but nothing has been copied.

1 Answer 1

1

Seems like the ~/.bashrc file on the remote server is broken. Try to use a standard ~/.bashrc for your system (for testing) and try again

2
  • what kind of linux distribution is running on the server?
    – hek2mgl
    Jul 4, 2013 at 9:47
  • 1
    Ok, understood, you are on shared hosting. I would suggest to write an email to the support. They will help you with this.
    – hek2mgl
    Jul 4, 2013 at 9:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.