<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Accessing a Windows Share from Linux Command Line in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797790#M59853</link>
    <description>Did you look at "smbclient"? It works similiar to what your trying to accomplish with scp and doesn't require you to mount the windows file system. &lt;BR /&gt;&lt;BR /&gt;It's a tool in the Samba package which is part of most distributions&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.samba.org/samba/docs/man/manpages-3/smbclient.1.html" target="_blank"&gt;http://www.samba.org/samba/docs/man/manpages-3/smbclient.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 15 Jun 2011 14:03:14 GMT</pubDate>
    <dc:creator>Jimmy Vance</dc:creator>
    <dc:date>2011-06-15T14:03:14Z</dc:date>
    <item>
      <title>Accessing a Windows Share from Linux Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797785#M59848</link>
      <description>Is there a way to access a file from a share on a windows server from the command line similar to scp?  For example, using scp I can do:&lt;BR /&gt;    scp gerkep@ux31:/tmp/1.pkg 2.pkg&lt;BR /&gt;&lt;BR /&gt;I am then prompted for the password for the gerkep account on ux31 and then the file is copied.&lt;BR /&gt;&lt;BR /&gt;I imagine being able to do:&lt;BR /&gt;    scp \\\\nt31\\users\\gerkep\\1.pkg 2.pkg&lt;BR /&gt;&lt;BR /&gt;I would then enter a user name and a password with permission to access the share.  Is there some way to do this without needing to mount the share first?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Paul</description>
      <pubDate>Fri, 10 Jun 2011 17:01:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797785#M59848</guid>
      <dc:creator>Paul Gerke</dc:creator>
      <dc:date>2011-06-10T17:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Windows Share from Linux Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797786#M59849</link>
      <description>If your Windows server has OpenSSH server running you could do something with scp.&lt;BR /&gt;&lt;BR /&gt;Take a look at smbclient to copy files without doing a mount &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jun 2011 23:01:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797786#M59849</guid>
      <dc:creator>Jimmy Vance</dc:creator>
      <dc:date>2011-06-10T23:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Windows Share from Linux Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797787#M59850</link>
      <description>If there was an sshd running on the windows server (e.g. openssh from cygwin) that allowed you to connect this should work similarly as with linux servers.&lt;BR /&gt;But usually sshd isn't very common on windows servers and almost always requires extra installation and setup.&lt;BR /&gt;But providing access like this isn't the intended purpose of a file windows server.&lt;BR /&gt;I think (as with a windows client) one would mount the CIFS share of the windows server locally and according to the granted permissions can access files just ro or rw.&lt;BR /&gt;Have a look at man mount.cifs&lt;BR /&gt;I think the mentioned smbtools were the forerunner user interface tool to deal with windows/samba file server shares when the protocol was still SMB before it went to CIFS and obtained the blessing of the IETF.</description>
      <pubDate>Wed, 15 Jun 2011 09:52:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797787#M59850</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2011-06-15T09:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Windows Share from Linux Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797788#M59851</link>
      <description>Forgot, as for the mentioned necessity to provide ones credentials, the mentioned mount.cifs manpage lists among others the special mount options user=,password=,credentials=&lt;BR /&gt;&lt;BR /&gt;If you installed the cygwin sshd you get a mapping of the notorious windows drive letter paths to something like e.g.&lt;BR /&gt;&lt;BR /&gt;/cygdrive/c/Programs/...&lt;BR /&gt;&lt;BR /&gt;to map&lt;BR /&gt;&lt;BR /&gt;c:\Programs\...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Jun 2011 10:01:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797788#M59851</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2011-06-15T10:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Windows Share from Linux Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797789#M59852</link>
      <description>Thanks Jimmy and Ralph,&lt;BR /&gt;I was hoping for something that didn't require any setup/configuration before running something from the command line, and didn't require the installation of ssh on the windows server, but that doesn't appear to be possible.  I will look at the CIFS man page and see if I can figure out a way to do it, but I suspect that CIFS will require something configured in advance.&lt;BR /&gt;&lt;BR /&gt;Thanks again for your responses,&lt;BR /&gt;Paul</description>
      <pubDate>Wed, 15 Jun 2011 13:51:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797789#M59852</guid>
      <dc:creator>Paul Gerke</dc:creator>
      <dc:date>2011-06-15T13:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Windows Share from Linux Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797790#M59853</link>
      <description>Did you look at "smbclient"? It works similiar to what your trying to accomplish with scp and doesn't require you to mount the windows file system. &lt;BR /&gt;&lt;BR /&gt;It's a tool in the Samba package which is part of most distributions&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.samba.org/samba/docs/man/manpages-3/smbclient.1.html" target="_blank"&gt;http://www.samba.org/samba/docs/man/manpages-3/smbclient.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Jun 2011 14:03:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797790#M59853</guid>
      <dc:creator>Jimmy Vance</dc:creator>
      <dc:date>2011-06-15T14:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Windows Share from Linux Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797791#M59854</link>
      <description>Thanks Jimmy,&lt;BR /&gt;I appreciate you repeating your suggestion to check out smbclient.  I can use it like ftp.  Not perfect, but doesn't require mounting.</description>
      <pubDate>Fri, 17 Jun 2011 17:42:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797791#M59854</guid>
      <dc:creator>Paul Gerke</dc:creator>
      <dc:date>2011-06-17T17:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a Windows Share from Linux Command Line</title>
      <link>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797792#M59855</link>
      <description>Or you could go the other way around&lt;BR /&gt;windows to linux with winscp.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://winscp.net/eng/download.php" target="_blank"&gt;http://winscp.net/eng/download.php&lt;/A&gt;</description>
      <pubDate>Fri, 17 Jun 2011 18:09:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/accessing-a-windows-share-from-linux-command-line/m-p/4797792#M59855</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2011-06-17T18:09:51Z</dc:date>
    </item>
  </channel>
</rss>

