This content has been marked as final. Show 4 replies
Outside of hacking the source code and replacing the ssh binaries, I doubt this is possible.
Or use an application firewall that restricts access to ftp get/put commands.
in FTP we have an option of cmds_allowed to decided what all commands needs to be allowed or denyed . same way is there option in SSH .
Hope we cannot restrict via app firewall ,since both get & put use 22 port
in FTP we have an option of cmds_allowed to decided what all commands needs to be allowed or denyed . same way is there option in SSH .What you've described is an application that allows you to enable/disable FTP commands using vsftpd. An application firewall would allow you to do the same for any ftp application and not just one that has it built in.
The same would apply to ssh. If it's a application then it's application specific. If it's a firewall then the firewall blocks it and not the application.