Is it possible to prevent SCP while still allowing SSH access?

Posted by Jason on Server Fault See other posts from Server Fault or by Jason
Published on 2009-06-19T18:30:51Z Indexed on 2010/04/29 9:27 UTC
Read the original article Hit count: 280

Filed under:
|
|
|
|

Using Solaris and Linux servers and OpenSSH, is it possible to prevent users from copying files using "scp" while still allowing shell access with "ssh"?

I realize that 'ssh $server "cat file" ' type file accesses are much harder to prevent, but I need to see about stopping "scp" for starters.

Failing that, is there a way to reliably log all SCP access on the server side through syslog?

© Server Fault or respective owner

Related posts about unix

Related posts about linux