Joey Hipolito
Joey Hipolito

Reputation: 3166

Downloading file using scp from a remote server. But returning error

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.

Upvotes: 1

Views: 2118

Answers (1)

hek2mgl
hek2mgl

Reputation: 157967

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

Upvotes: 1

Related Questions