Scp - not a regular file - how to fix
If you are trying to copy some path to the host
scp [email protected]:/path/ /path/on/local_pc
And you are receiving not a regular file error, just add
scp -r [email protected]:/path/ /path/on/local_pc
Because to support coping folders you have to use
This is it.
Be hinty 🤘