I own linux machine A and have a limited access to linux machine B. Both machine have Internet access.
Internet access on machine A is partially censored so I want to make a SOCKS proxy tunnel through machine B.
Since I cannot forward ports opened on machine B (which is behind a router) so I decided to make a reverse SSH connection from B to A as described here.
However it seems I cannot use SSH on machine B as normally:
$ ssh #on machine B No user exists for uid 57521 $ whoami whoami: cannot find name for user ID 57521
My situation is like this one.
Each time I log into machine B, my UID will change. After some research, it seems I probably logged in machine B as LDAP user or something alike.
I don't have write access to
/etc on machine B. How do I setup SSH in this case? Or is there any alternative method setup a reverse SOCKS proxy, preferably encrypted?