Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
I'm trying copy from my local machine a file via SSH,
But it doesn't work.
scp devel@siscom-online:pgadmin.log .
The path /home/user/Downloads/ does not exist on your system or is not accessible. Make sure that the destination directory exits, before starting the copy operation with scp.
It would be scp devel@siscom-online:~/pgadmin.log /home/devel/Downloads/
scp devel@siscom-online:~/pgadmin.log /home/devel/Downloads/