Setting up config file to connect to remote host [migrated]

view full story

http://stackoverflow.com – I am trying to set up my config file for ssh. When I work from home I connect to machine located remotely as follows Tunneling to the machine via local port ssh -N -l poppop -L 2223:my_machine:22 my.domain.com & Then logging to machine using ssh -p 2223 username@localhost Please help me setting my config file so that I dont have to tunnel it every time to log in. Thanks. (HowTos)