I am trying to setup port forwarding to access port 10050 via SSH on a remote server. I want to connecto to port 10050 on localhost
and that should forward my request via SSH to port 10050 on the server. So I tried the following:
$ ssh engelssh@10.11.10.72 -L 10050:10.11.10.72:10050
engelssh@10.11.10.72's password:
Could not chdir to home directory /home/engelssh: No such file or directory
Connection to 10.11.10.72 closed.
But where does this error come from? Why does it try to change to the engelssh
user's home directory, even though I don't need a login shell but just this port forwarding? Or is it a configuration issue on the server?