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 10-22-2007, 09: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, 09:50 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 08: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, 09:19 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 09: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, 09: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, 10:04 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
an error about port 5900 when you're not using it? 5900 is for VNC, not SMB/CIFS.
 
Old 10-23-2007, 10: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, 08: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, 09: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 09:25 AM.
 
Old 10-25-2007, 09: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 09:26 AM.
 
Old 10-25-2007, 09:18 AM   #12
ub3r1337/\/00b
LQ Newbie
 
Registered: Oct 2007
Posts: 6

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

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

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

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

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

Last edited by ub3r1337/\/00b; 10-25-2007 at 09:26 AM.
 
Old 10-26-2007, 09: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 09: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 09:49 AM
Trying to get permissions correct with Samba and SSH Micro420 Linux - General 7 09-13-2006 11:49 PM
SSH tunnel using PuTTy - Samba jackster Linux - Security 4 02-12-2005 05:07 PM
Samba, ssh, port forwarding, and dynamic IP mdkelly069 Linux - Networking 0 03-19-2004 11:47 AM
Not able to remotly connect using SSH or Samba Danielallan Slackware 2 12-07-2003 03:55 PM

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

All times are GMT -5. The time now is 03:45 PM.

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
Open Source Consulting | Domain Registration