I've setup TCP forwarding over SSH using the following command:
ssh -N -L 1234:10.0.2.2:1234 root@10.0.2.1
This works no problem. So I decided to create a non-root account user1 on 10.0.2.1 to do this in a more secure/safer way. However, I get a permission denied error message when I try to the same command with the user1 account.