scp file TargetfileOrTargetfolder
scp -r folder path
scp path root@ip:/path
chmod [-cfvR] [--help] [--version] mode file
mode 格式为 [ugoa...][[+-=][rwxX]...][,...]
r 表示可读取,w 表示可写入,x 表示可执行,使用数字代表权限时 r=4,w=2,x=1,三个数字分别表示User、Group、及Other的权限。
chmod a+r file1.txt chmod -R a+r * chmod 777 file