Scp - not a regular file - how to fix

If you are trying to copy some path to the host

scp root@IP:/path/ /path/on/local_pc

And you are receiving not a regular file error, just add -r param:

scp -r root@IP:/path/ /path/on/local_pc

#ssh #scp
menu 0
Ivan Borshchov profile picture
Nov 17, 2020
by Ivan Borshchov
Did it help you?
Yes !
No

Best related

Other by Ivan Borshchov