logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: samba question: msg#00363

Subject: Re: samba question
On Wed, Jan 12, 2005 at 07:21:22PM -0800, pw wrote:
> Is there any way to mount a directory on a remote machine using
> a secure shell connection? Perhaps an SMB share through an
> ssh session...??


 ssh -L 445:remote-SMBhost:445 remote.ssh_host.org
 # localhost:445 --> remote.ssh_host.org --> remote-SMBhost:445

 smbmount \\localhost\share /mnt/share

 This is assuming you have no smbfs/cifs services running locally and the
remote host supports port 445. I'ld use smbclient to initially test where
this breaks.


 Also note: this is completely untested. But in theory workable.

-- 
   Lionel Widdifield                  [] Spydernet Resources
                                      [] P.O. Box 5412
   lwiddif-sig-uKFmtK35kDLby3iVrkZq2A@xxxxxxxxxxxxxxxx          [] Victoria BC, 
Canada  V8R 6S4  
                                      [] Phone (250)360-9439 Fax 383-0373
_______________________________________________
Discuss mailing list
Discuss-H5z7431qhMo@xxxxxxxxxxxxxxxx
http://ladybug.vlug.org/cgi-bin/mailman/listinfo/discuss
<Prev in Thread] Current Thread [Next in Thread>