Re: connect two linux boxes by a crossover cable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 27 June 2004 03:58 pm, Yu Sun wrote:
> Hi,
> I connected two Linux boxes with a crossover cable to create a mini
> LAN. The OS is Redhat 9.0 one both machine.
>
> Ping host1 from host2 or from host2 to host1 is OK. This shoudl
> indicate the IP addresses etc are set up correctly.  I also enabled
> the telnet, rsh, shh, rlogin services on both machines (I am not so
> experienced linux user, maybe not quite right). The problems are when
> I use telnet or others except ping, e.g.
> % telent host1
>
> I alwalys get "connection refused".

Telnet service by default is off, for a good reason. It's not secure. SSH is 
just as easy. All you need to do is make sure it's on for both machine. Run 
the following (as root):

service sshd start

Then, to make sure it's always on after boot:

chkconfig sshd on

Now you can do:

ssh username@host1

There's also scp to securely copy files which might be useful gor you (do 'man 
scp') as part of the ssh package.

HTH
RDB

-- 
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
---------------------------------------------------------
"To be a nemesis, you have to actively try to destroy 
something, don't you? Really, I'm not out to destroy 
Microsoft. That will just be a completely unintentional 
side effect."
                 - Linus Torvalds -


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux