cap shell
gives you an interactive prompt to the server where you can enter commands.
Run a Capistrano task using:
!local_task_name
e.g. if you normally use
cap progress
then you’d use
!progress
Lots more info here:
http://weblog.jamisbuck.org/2006/9/21/introducing-the-capistrano-shell