LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help: Unable to connect remotely (https://www.linuxquestions.org/questions/linux-newbie-8/help-unable-to-connect-remotely-146161/)

tejpatil 02-14-2004 07:15 PM

Help: Unable to connect remotely
 
Unable to connect remotely to RH 7.1 from Laptop with Windows XP.

I was trying to connect to Linux usin PUTTY.EXE client from windows. But I am getting connection failed all the time. i am not sure what exact settings are needed. can anybody tell me what I need to do.

Thanks,
Tej

scott_R 02-14-2004 07:56 PM

You need to use Samba to talk to windows machines (there are other ways, but samba's by far the most convenient). This bit can be either really easy, or pretty involved(depending on your distro), and if you want it set up correctly (for security and efficiency), it pays to spend some time learning it. You'll need to install samba and the samba server (may be one package on some distros), then read through the documentation to do a basic setup, and adjust it from there to your particular needs.

This should be a good starting point: http://www.samba.org/ And www.tldp.org has a good number of documents as well. At first glance, even after reading the docs at these sites, samba configuration looks next to impossible for most people, but in reality, to get a working configuration, you only have to edit a couple lines in your /etc/smb.conf file, and the file itself contains enough comments to help you out. It looks much scarier than it actually is, something that seems to hold true across the board for a lot of Linux stuff. :)

Oh, and something newbies tend to overlook: You need to use smbpasswd to set a password for your clients. "smbpasswd -a username" should do it, assuming you adjust security later.

Kristijan 02-14-2004 08:07 PM

Depending on what you want to do, and easier way it to run SSH on your linux box. Then just tell putty to use port 22 when connecting. RH 7.1 from knowledge comes with SSH. Not being a RH user though, I couldn't tell you how to get it running.

homey 02-14-2004 08:36 PM

Putty works great for connecting from Windows to Linux. I use the ip address and click on ssh which automatically selects port 22.
Is your firewall allowing port 22 connections?
If you get the message Network error: Connection refused you may have forgotten to start sshd .
To check that run the command: service sshd status.


All times are GMT -5. The time now is 02:20 AM.