You have to understand that this is server-side problem and not client-side. So the documentation we provide here cannot be too specific as the solution differs with the server.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
There's nothing more to add to the topic than what is already documented:
i've the same Problem.
I need to connect through a Tunnel (HangleServer).
In case Putty: after login, i change the user: "sudo su - tomcat". Thats the only sudo command im allowed to use.
In Case WinSCP: I tried to use this command at the Shell-Tab in the Connection-Settings. not working.
Is there something i forgot? Is it even possible?
sudois used in the article.