Connecting two Linux machines

  • Thread starter Omid
  • Start date
  • #1
Omid
182
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?
 

Answers and Replies

  • #2
dduardo
Staff Emeritus
1,901
3
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.
 
  • #3
Omid
182
0
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
 
  • #4
dduardo
Staff Emeritus
1,901
3
Then you need pppd and sshd.
 
  • #5
Omid
182
0
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.
 
  • #6
dduardo
Staff Emeritus
1,901
3
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/ [Broken]
http://linuxgazette.net/issue38/gentry.html [Broken]

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:
  • #7
Omid
182
0
let me give it a go. Offcourse I'm trying to find the simplest way.
Thanks a lot.
 

Suggested for: Connecting two Linux machines

  • Last Post
Replies
12
Views
265
  • Last Post
Replies
18
Views
576
Replies
43
Views
2K
Replies
12
Views
2K
Replies
3
Views
281
  • Last Post
Replies
3
Views
184
Replies
26
Views
683
Replies
6
Views
668
  • Last Post
Replies
2
Views
634
Replies
4
Views
534
Top