LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-22-2007, 08:07 AM   #1
ohswrestler2009
Member
 
Registered: Oct 2007
Posts: 39

Rep: Reputation: 15
Samba over SSH


Hello.
I'm fairly new to linux.
I was wondering how to run Samba so I could access my Windows XP computer from my Linux machine.
I'm currently running Fedora 7.
Don't really know much about Samba or SSH.
Soo....Any advice?
 
Old 10-22-2007, 08:50 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
why is ssh involved in this? unless you're doing something like trying to securely connect over the internet or something, then there's no reason to involve ssh at all. you should be able to refer to the standard places like the network places in the fedora desktop menus.
 
Old 10-23-2007, 07:55 AM   #3
ohswrestler2009
Member
 
Registered: Oct 2007
Posts: 39

Original Poster
Rep: Reputation: 15
Yeah, I'm trying to get a secure connection between my home computer and my work computer.
 
Old 10-23-2007, 08:19 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
ok, well an ssh tunnel on port 445 will sort you out just fine if you can already get ssh access. so under linux it'd be somethign like

ssh -L 1234:127.0.0.1:445 user@domain.com

log in and then connect to port 1234 on your local machine in order to be tunnel to port 445 on the remote windows machine.
 
Old 10-23-2007, 08:28 AM   #5
stfusonxxxx
LQ Newbie
 
Registered: Oct 2007
Posts: 24

Rep: Reputation: 15
Okay, this is giving me problems, I am getting this error.

bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 5900
Could not request local forwarding.
 
Old 10-23-2007, 08:29 AM   #6
ohswrestler2009
Member
 
Registered: Oct 2007
Posts: 39

Original Poster
Rep: Reputation: 15
I am getting the same error message
 
Old 10-23-2007, 09:04 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
an error about port 5900 when you're not using it? 5900 is for VNC, not SMB/CIFS.
 
Old 10-23-2007, 09:06 AM   #8
stfusonxxxx
LQ Newbie
 
Registered: Oct 2007
Posts: 24

Rep: Reputation: 15
Oh, well, I get the same error with 1234
 
Old 10-25-2007, 07:55 AM   #9
ohswrestler2009
Member
 
Registered: Oct 2007
Posts: 39

Original Poster
Rep: Reputation: 15
Is 1234 the right port to connect from?
How do you find out?
 
Old 10-25-2007, 08:10 AM   #10
ub3r1337/\/00b
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Rep: Reputation: 0
please delete all of these thank you.

Last edited by ub3r1337/\/00b; 10-25-2007 at 08:25 AM.
 
Old 10-25-2007, 08:17 AM   #11
ub3r1337/\/00b
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Rep: Reputation: 0
all of my posts

Last edited by ub3r1337/\/00b; 10-25-2007 at 08:26 AM.
 
Old 10-25-2007, 08:18 AM   #12
ub3r1337/\/00b
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Rep: Reputation: 0
.....................

Last edited by ub3r1337/\/00b; 10-25-2007 at 08:26 AM.
 
Old 10-25-2007, 08:21 AM   #13
ub3r1337/\/00b
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Rep: Reputation: 0
....................

Last edited by ub3r1337/\/00b; 10-25-2007 at 08:25 AM.
 
Old 10-25-2007, 08:23 AM   #14
ub3r1337/\/00b
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Rep: Reputation: 0
...................

Last edited by ub3r1337/\/00b; 10-25-2007 at 08:26 AM.
 
Old 10-26-2007, 08:15 AM   #15
ohswrestler2009
Member
 
Registered: Oct 2007
Posts: 39

Original Poster
Rep: Reputation: 15
Can anyone help?

Last edited by ohswrestler2009; 11-05-2007 at 08:32 AM.
 
  


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
SSH and Samba over internet FNC Linux - Networking 5 10-25-2007 08:49 AM
Trying to get permissions correct with Samba and SSH Micro420 Linux - General 7 09-13-2006 10:49 PM
SSH tunnel using PuTTy - Samba jackster Linux - Security 4 02-12-2005 04:07 PM
Samba, ssh, port forwarding, and dynamic IP mdkelly069 Linux - Networking 0 03-19-2004 10:47 AM
Not able to remotly connect using SSH or Samba Danielallan Slackware 2 12-07-2003 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:45 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