从远程服务器使用scp下载文件。但是返回错误

时间:2022-08-15 10:07:29

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

我尝试从我的bluehost帐户下载文件,我正试图用这样的bash远程执行

 $ scp user@domain.com:/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 个解决方案

#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

好像远程服务器上的〜/ .bashrc文件坏了。尝试为您的系统使用标准的〜/ .bashrc(用于测试),然后重试

#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

好像远程服务器上的〜/ .bashrc文件坏了。尝试为您的系统使用标准的〜/ .bashrc(用于测试),然后重试