Make sure that
The user on the server have permissions to open sockets
SSH server is configured to allow creating sockets.
Try to connect via SSH as root or do su after you log in and try to use proxy.