LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-16-2004, 08:47 AM   #1
davsinc
LQ Newbie
 
Registered: Jun 2002
Posts: 10

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC1 ssh_config question jfranks214 Fedora 0 12-20-2004 03:38 PM
I installed openssh for redhat 7.3 but no /etc/ssh/ssh_config file was made akay Linux - Networking 1 11-15-2004 06:19 PM
sshd not using ssh_config on startup thebover Linux - Software 2 08-25-2004 04:42 PM
Regarding /etc/ssh/ssh_config (CLUSTERS) nedian123 Linux - Networking 1 08-14-2004 06:22 PM


All times are GMT -5. The time now is 10:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration