Connecting Linux Servers 40 Miles Apart: What's the Simplest Way?

  • Thread starter Thread starter Omid
  • Start date Start date
  • Tags Tags
    Linux Machines
Click For Summary

Discussion Overview

The discussion revolves around connecting two Linux servers located 40 miles apart, focusing on methods for establishing a remote connection to manage database settings and PHP files. The conversation includes considerations for both direct connections and remote access protocols.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant inquires about connecting two Linux servers and compares it to a Windows remote desktop setup.
  • Another participant suggests using SSH, noting it may already be installed and provides a command to start the SSH server.
  • A different participant raises the issue of needing a TCP/IP connection, stating that neither server is connected to the Internet and proposes using a PPP connection via modems and phone lines.
  • One participant mentions the need for specific client/server programs to establish the PPP connection.
  • Another participant suggests using pppd and sshd as necessary components for the connection.
  • A participant asks about the necessity of using Portslave and requests links to guides for configuration.
  • One participant points out the availability of various guides for setting up Dial-in Servers and mentions options for DHCP or static IPs depending on user needs.
  • A participant expresses a desire to find the simplest method for establishing the connection.

Areas of Agreement / Disagreement

Participants present multiple approaches and considerations for connecting the servers, indicating that there is no consensus on a single method. Different views on the necessity of certain tools and configurations remain unresolved.

Contextual Notes

Participants discuss various methods and tools without reaching a definitive conclusion on the best approach, highlighting the complexity of the connection requirements and the varying levels of expertise among users.

Who May Find This Useful

This discussion may be useful for individuals seeking to connect Linux servers over long distances, particularly those interested in remote access methods and configurations for non-Internet-connected systems.

Omid
Messages
181
Reaction score
0
Hi,
We have two Linux servers (Redhat 9.0) 40 miles apart. We want to connect them to each other so that we can change our database settings and PHP files on them. In windows we just dial one of them from the other one and use a remote desktop. What should we do when we are using linux?
 
Computer science news on Phys.org
Ever heard of SSH? It is probably already installed. All you have to do is start the server by su'ing into root and then running the following command: /etc/init.d/sshd start

Make sure you foward ssh to that computer on the firewall.
 
dduardo said:
Ever heard of SSH? It is probably already installed. All you have to do is start the server by su'ing into root and then running the following command: /etc/init.d/sshd start

Make sure you foward ssh to that computer on the firewall.

Yeah, but don't you think we must first make a TCP/IP connection between those machines?
None of them are connected to the Internet. So we have to place a PPP (or something like that) connection between them.
I need a client/server deamon to make the connection via 56k modems and a phone line.
That's what I need. Please give me the name of such client/server programs. And the way we can make the PPP connection.
Thanks
 
Then you need pppd and sshd.
 
Somebody told me about Portslave. Is it neccesary to use it?
dduardo, that would be great if you could give me one of your majical links. Like the one you gave me last week, the page about configuring Samba and SWAT. I need a easy "How to do", even for Debian if you think it's easier for a novice.
Thanks a lot.
 
There are a bunch of guides on the internet for Dial-in Servers. You just have to look:

http://ct.radiology.uiowa.edu/~jiangm/software-docs/ppp-dialin-server/
http://linuxgazette.net/issue38/gentry.html

You can make this as difficuilt or as easy as you want. You can setup DHCP to give out IPs or you can just assign static IPs. You can have fancy or simple authentication. It all depends on your needs.
 
Last edited by a moderator:
let me give it a go. Offcourse I'm trying to find the simplest way.
Thanks a lot.
 

Similar threads

Replies
4
Views
3K
Replies
7
Views
3K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 43 ·
2
Replies
43
Views
6K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
6K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K