SirDice said:You can't block scp(1) if you allow ssh(1) access. Even if you could block the command someone could still do [cmd=]cat somefile.txt | ssh me@some.machine[/cmd].
What exactly are you trying to stop from happening?
WGhetto said:I solved this problem. I just deleted scp from /usr/bin
WGhetto said:Yes, but not everyone knows FreeBSD![]()
WGhetto said:Yes, but not everyone knows FreeBSD![]()
WGhetto said:Or if I can block that user to see only his folder for example to see only /usr/home/test and to can't go to /usr/home.