LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-14-2004, 08:15 PM   #1
tejpatil
Member
 
Registered: Feb 2004
Posts: 43

Rep: Reputation: 15
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
 
Old 02-14-2004, 08:56 PM   #2
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746

Rep: Reputation: 31
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.

Last edited by scott_R; 02-14-2004 at 08:59 PM.
 
Old 02-14-2004, 09:07 PM   #3
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
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.
 
Old 02-14-2004, 09:36 PM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
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.
 
  


Reply


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
How do I connect to Webmin remotely? wslyhbb Linux - Networking 3 11-18-2010 05:03 AM
Can't remotely ftp connect jake3988 *BSD 10 04-16-2005 01:52 PM
connect remotely pyre Linux - Newbie 8 03-19-2004 12:20 PM
Unable to run X applications remotely pree Linux - Software 0 06-27-2003 02:45 AM
cannot connect remotely noizez Linux - Networking 2 04-03-2003 10:53 PM


All times are GMT -5. The time now is 07:13 AM.

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