Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

Subject: SSH and Samba

Original Message
Name: dasheuck
Date: January 24, 2008 at 21:28:44 Pacific
Subject: SSH and Samba
OS: Mac OS X
CPU/Ram: Intel 1GB
Model/Manufacturer: Apple
Comment:
I have sort of a weird question. I have a Mac that is behind a NAT server running gentoo linux. NAT is configured with iptables. What I want to do, is to be able to connect via Samba to the Mac through an SSH tunnel. Is this even possible?


Report Offensive Message For Removal

Response Number 1
Name: Curt R
Date: January 25, 2008 at 07:21:16 Pacific
Subject: SSH and Samba
Reply: (edit)
Do they make SSH software for Mac's?

I know you can get it for Windows based PC's.


Report Offensive Follow Up For Removal

Response Number 2
Name: dasheuck
Date: January 25, 2008 at 14:10:50 Pacific
Subject: SSH and Samba
Reply: (edit)
Yeah it comes installed with OS X. It's OpenSSH. It's all command line though.

Report Offensive Follow Up For Removal

Response Number 3
Name: jefro
Date: January 25, 2008 at 14:21:12 Pacific
Subject: SSH and Samba
Reply: (edit)
Sure, see the linux docs for that or even ms things like stunnel.

Might consider sftp.

I read it wrong and answer it wrong too. So get off my case you peanut.


Report Offensive Follow Up For Removal

Response Number 4
Name: Curt R
Date: January 26, 2008 at 05:18:54 Pacific
Subject: SSH and Samba
Reply: (edit)
Yes that's right, I had forgotten. OSX is BSD (UNIX) based.

How you're going to connect depends on what you want to do. If you're going to transfer files back and forth between machines then sftp is the right way. If you're going to manage, then ssh.


Report Offensive Follow Up For Removal

Response Number 5
Name: dasheuck
Date: January 26, 2008 at 10:36:31 Pacific
Subject: SSH and Samba
Reply: (edit)
Well I can use SFTP to transfer files, but If there are a lot of files to transfer, that gets a little tedious. Since sftp only allows one connection at a time, you have to transfer the files in a directory tree one at a time.

I wonder, would HTTP work? If I set up an HTTP server on the MAC and forwarded the port through the NAT, then set up an SSH tunnel for HTTP? Is it possible to download a directory with HTTP?


Report Offensive Follow Up For Removal

Response Number 6
Name: jefro
Date: January 27, 2008 at 12:42:56 Pacific
Subject: SSH and Samba
Reply: (edit)
If you make a tunnel then you can use ftp all you want.

Https would work too.

I read it wrong and answer it wrong too. So get off my case you peanut.


Report Offensive Follow Up For Removal

Response Number 7
Name: dasheuck
Date: January 27, 2008 at 15:12:30 Pacific
Subject: SSH and Samba
Reply: (edit)
But ftp through a tunnel only encrypts the control port, not that data. I guess I'll try https.

Report Offensive Follow Up For Removal

Response Number 8
Name: Curt R
Date: January 28, 2008 at 07:21:55 Pacific
Subject: SSH and Samba
Reply: (edit)
Well I can use SFTP to transfer files, but If there are a lot of files to transfer, that gets a little tedious. Since sftp only allows one connection at a time, you have to transfer the files in a directory tree one at a time.

Well, I'm not sure about Mac's but with UNIX/Linux you could connect via sftp as many times as you'd like just like with ssh.

Here's a tip. First, prepare all the files you wish to transfer by backing them up into a single archived file. Then just transfer the one file...............


Report Offensive Follow Up For Removal

Response Number 9
Name: jefro
Date: January 28, 2008 at 14:41:27 Pacific
Subject: SSH and Samba
Reply: (edit)
You need a secure tunnel. I agree that some tunnels stink.

I read it wrong and answer it wrong too. So get off my case you peanut.


Report Offensive Follow Up For Removal



Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: SSH and Samba

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software



Version Tracker Pro
Keep your software current and secure, effortlessly

Click Here for a Free Scan

Driver Agent
Automatically find the latest drivers for your computer.
Click Here for a Free Scan



The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC