<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Access and Mount an SMB Share via Command Line</title>
	<atom:link href="http://osxdaily.com/2009/09/24/access-and-mount-an-smb-share-via-command-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://osxdaily.com/2009/09/24/access-and-mount-an-smb-share-via-command-line/</link>
	<description>News, tips, software, reviews, and more for Mac OS X, iPhone, iPad</description>
	<lastBuildDate>Sun, 19 May 2013 18:30:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Map a Network Drive on a Mac</title>
		<link>http://osxdaily.com/2009/09/24/access-and-mount-an-smb-share-via-command-line/#comment-360922</link>
		<dc:creator>Map a Network Drive on a Mac</dc:creator>
		<pubDate>Mon, 19 Mar 2012 22:41:21 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=898#comment-360922</guid>
		<description>[...] which is why this a different technique than what you use to mount an ISO in Mac OS X. You can also access and mount smb shares via the command line which allows for scripting possibilities, if you&#8217;re interested in a more technical approach.  [...]</description>
		<content:encoded><![CDATA[<p>[...] which is why this a different technique than what you use to mount an ISO in Mac OS X. You can also access and mount smb shares via the command line which allows for scripting possibilities, if you&#8217;re interested in a more technical approach.  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: billspat</title>
		<link>http://osxdaily.com/2009/09/24/access-and-mount-an-smb-share-via-command-line/#comment-99766</link>
		<dc:creator>billspat</dc:creator>
		<pubDate>Thu, 11 Feb 2010 15:10:04 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=898#comment-99766</guid>
		<description>instead check out mount_smbfs

 http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man8/mount_smbfs.8.html

#example: 
mkdir /Volumes/winshare
mount_smbfs //user@winserver.yournetwork.com /Volumes/winshare

#... when you are done
umount /Volumes/winshare</description>
		<content:encoded><![CDATA[<p>instead check out mount_smbfs</p>
<p> <a href="http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man8/mount_smbfs.8.html" rel="nofollow">http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man8/mount_smbfs.8.html</a></p>
<p>#example:<br />
mkdir /Volumes/winshare<br />
mount_smbfs //user@winserver.yournetwork.com /Volumes/winshare</p>
<p>#&#8230; when you are done<br />
umount /Volumes/winshare</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan Cristián</title>
		<link>http://osxdaily.com/2009/09/24/access-and-mount-an-smb-share-via-command-line/#comment-99163</link>
		<dc:creator>Juan Cristián</dc:creator>
		<pubDate>Tue, 22 Dec 2009 04:34:04 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=898#comment-99163</guid>
		<description>If you like being able to map those samba shares on the command line, you&#039;ll love being able to do so from anywhere through a secure ssh tunnel like this:

1st: set up the ssh tunnel from your mac to the machine hosting the samba share by typing this into your mac:

screen sudo ssh -axC -c blowfish -l  -L 139::139 

-this will establish a tunnel using compression and fast encryption, so port 139 on your mac now points to port 139 on the samba host.
-you will see a terminal session logged on to the remote server. This needs to remain running. To get it out of your way (so you don&#039;t have to leave that terminal window running) press A, and the &#039;screen&#039; will detach - the process is now running in the background, you can close your terminal, or recall the session by entering &#039;screen -r&#039; from any terminal session.

2nd: mount your drive per the directions here, except that in place of the hosts&#039;s ip, you enter &#039;localhost&#039;, sending the samba connection through the tunnel.

Voila - it&#039;s fairly fast, secure, and, best of all, it is usable through most corporate firewalls, since they will almost always allow ssh connections through, while often they do not allow ports 137, 139, &amp; 445 (the samba ports) to cross the firewall.</description>
		<content:encoded><![CDATA[<p>If you like being able to map those samba shares on the command line, you&#8217;ll love being able to do so from anywhere through a secure ssh tunnel like this:</p>
<p>1st: set up the ssh tunnel from your mac to the machine hosting the samba share by typing this into your mac:</p>
<p>screen sudo ssh -axC -c blowfish -l  -L 139::139 </p>
<p>-this will establish a tunnel using compression and fast encryption, so port 139 on your mac now points to port 139 on the samba host.<br />
-you will see a terminal session logged on to the remote server. This needs to remain running. To get it out of your way (so you don&#8217;t have to leave that terminal window running) press A, and the &#8216;screen&#8217; will detach &#8211; the process is now running in the background, you can close your terminal, or recall the session by entering &#8216;screen -r&#8217; from any terminal session.</p>
<p>2nd: mount your drive per the directions here, except that in place of the hosts&#8217;s ip, you enter &#8216;localhost&#8217;, sending the samba connection through the tunnel.</p>
<p>Voila &#8211; it&#8217;s fairly fast, secure, and, best of all, it is usable through most corporate firewalls, since they will almost always allow ssh connections through, while often they do not allow ports 137, 139, &amp; 445 (the samba ports) to cross the firewall.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/3 queries in 0.003 seconds using disk: basic
Object Caching 211/212 objects using disk: basic
Content Delivery Network via cdn.osxdaily.com

Served from: osxdaily.com @ 2013-05-19 14:58:21 -->