Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-05-2004, 07:15 AM   #1
Registered: Jun 2004
Location: NJ, US (Ex UK)
Distribution: RHEL3.0 / FC2
Posts: 79

Rep: Reputation: 15
Linking to multiple linux servers with SSH

Hi all,

Another newbie question!

I have a terminal emulator on my laptop, and 2 servers on my network. I connect to the network externally (network in NJ, working in WI...), and want to use SSH to link to bothe servers. On my router, I have port forwarding to have the SSH standard port (22) to one of the server IP addresses. Tis means I cannot map it to the other. If I use anothe rport number (23 or24), I get a connection refused error.

Can anyone help me?


Old 07-05-2004, 10:06 AM   #2
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
All you need is one hole in the firewall to get inside the local network. Once there, you can ssh from server1 to server2. At work, I have an old pentium as the ssh-in computer. From there, I can ssh to any of the other computers.
Old 07-05-2004, 12:37 PM   #3
Registered: Jun 2004
Location: NJ, US (Ex UK)
Distribution: RHEL3.0 / FC2
Posts: 79

Original Poster
Rep: Reputation: 15
I just got ssh working between the 2 servers, now why didn't I thin of that?! Doh!

Thanks very much!



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
multiple terminal windows for ssh in linux nasarlinux Linux - General 3 09-23-2005 08:13 AM
Tips for managing multiple linux servers benr77 Linux - General 3 09-14-2005 04:32 AM
Problem setup SSH tunnel over multiple servers dussel Linux - Networking 5 07-29-2005 08:51 AM
Linking multiple sound devices ccool Linux - General 3 03-20-2005 11:42 AM
linking samba servers over tunnel rkatana Linux - Software 0 11-05-2003 02:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:12 AM.

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