Recently I have been getting an error when trying to scp into a CentOS Linux release 7.7.1908 (3.10.0-1062.4.3.el7.x86_64).
These commands work:
scp dir/file.txt .scp -r dir/file.txt .
But this command has stopped working:
scp dir/* .
The error is:
insecure scp option not allowed.
This account is restricted by rssh.
Allowed commands: scp
What is the permission difference between using a star and just copying the whole directory?