I'm trying to do port forwarding and I realise that it always prompts me for the password for the remote machine. Is there anyway of doing it non-interactively?
I run this on the server
ssh -S -R tcp/1030:myserver.com:23 myremote.com
on my remote machine I run
telnet myremote.com 1030
However, when I run the server statement it prompts me for a password to let myremote.com authenticate me.