scp gives “not a regular file”

I have a problem when using scp on Linux, it says “not a regular file”. I looked at other questions/answers about that, but I can’t find out what’s wrong… I wrote:

scp aa@aa:/home/pictures/file.fits .

to copy file.fits from aa@aa/home/pictures to the current directory. I also tried without using /home/, but it didn’t work neither…

Do you understand what’s wrong?

Leave a Comment