LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ssh_config help (https://www.linuxquestions.org/questions/linux-newbie-8/ssh_config-help-135387/)

davsinc 01-16-2004 08:47 AM

ssh_config help
 
I am using fedora and ssh to my workplace. Being new to Linux and ssh for that matter I was shown how to ssh via the command line and do all my port forwarding. an example is below.

ssh -l jdoe -g -C -L 25:bubba.mycompany.com:25 -L 8000:ssh.mycompany.com:80 -L 110:bubba.mycompany.com:110 -L 119:news.mycompany.com:119 -L 389:ldap.mycompany.com:389 ssh.mycompany.com

I was told I could put this in my ssh_config file and would not have to type this out everytime. Could someone give me an example using the hosts in the above command line example?

Thanks in advance


All times are GMT -5. The time now is 11:20 PM.