{"id":137949,"date":"2021-12-03T15:23:30","date_gmt":"2021-12-03T20:23:30","guid":{"rendered":"http:\/\/www.bu.edu\/tech\/?page_id=137949"},"modified":"2025-03-12T11:38:44","modified_gmt":"2025-03-12T15:38:44","slug":"desktop","status":"publish","type":"page","link":"https:\/\/www.bu.edu\/tech\/support\/research\/system-usage\/transferring-files\/desktop\/","title":{"rendered":"Transferring Files to\/from your Desktop"},"content":{"rendered":"<div id=\"x-forwarding\">\n<p><a name=\"top\"><\/a><\/p>\n<h2>Overview<\/h2>\n<p>There are numerous applications that support Secure Copy (scp) or Secure File Transfer Protocol (SFTP) on each operating system. Select your operating system below for tailored instructions.<\/p>\n<h4>Select your operating system<\/h4>\n<table border=\"0\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><strong><input name=\"os\" id=\"windows1\" onclick=\"show_os('windows')\" value=\"windows\" type=\"radio\" \/><\/strong><br \/>\n<strong> <label for=\"windows1\"><br \/>\nMicrosoft Windows<\/label><\/strong><\/td>\n<td style=\"text-align: center;\"><input name=\"os\" id=\"apple1\" onclick=\"show_os('apple')\" value=\"apple\" type=\"radio\" \/><br \/>\n<strong><label for=\"apple1\"><br \/>\nApple OS X<\/label><\/strong><\/td>\n<td style=\"text-align: center;\"><input name=\"os\" id=\"linux1\" onclick=\"show_os('linux')\" value=\"liux\" type=\"radio\" \/><br \/>\n<strong><label for=\"linux1\"><br \/>\nLinux Distributions<\/label><\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><!-- Windows --><\/p>\n<div id=\"windows\">\n<h2>Windows<\/h2>\n<p>On Microsoft Windows, an SFTP client must be downloaded to transfer files to the Shared Computing Cluster. This guide gives examples for using both &#8220;FileZilla&#8221; and the &#8220;MobaXterm&#8221; application, which was also used in the connecting (ssh) and X-forwarding guides. Common Windows SFTP applications are listed below; all of these will work fine with the SCC.<\/p>\n<h4>SFTP Clients<\/h4>\n<ul>\n<li><a href=\"https:\/\/filezilla-project.org\/\">FileZilla<\/a><\/li>\n<li><a href=\"http:\/\/mobaxterm.mobatek.net\/\">MobaXterm<\/a><\/li>\n<li><a href=\"https:\/\/winscp.net\/eng\/index.php\">WinSCP<\/a><\/li>\n<li><a href=\"http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/download.html\">PSFTP<\/a><\/li>\n<\/ul>\n<div class=\"highlight-yellow\">\n<p><b>Note:<\/b> Windows-based editors generally put an extra &#8220;carriage return&#8221; (also referred to as control-M\/^M) character at the end of each line of text. This will cause problems for most Linux-based applications. To correct this problem you will first need to open a terminal connected to the SCC. Using the terminal, navigate to the directory that contains the ASCII files you uploaded. For each uploaded ASCII file, execute the built-in utility <code><span class=\"command\">dos2unix<\/span><\/code>:<\/p>\n<pre><code>    <span class=\"prompt\">scc1$<\/span> <span class=\"command\">dos2unix<\/span> <span class=\"placeholder\">filename<\/span><\/code><\/pre>\n<\/div>\n<h4>File Transfer using FileZilla <a name=\"WIN-FILEZILLA\" href=\"#WIN-FILEZILLA\" style=\"text-decoration:none;\">&#x1F517;<\/a><\/h4>\n<p>There are issues with <a href=\"https:\/\/www.bu.edu\/tech\/support\/research\/system-usage\/connect-scc\/access-and-security\/two-factor\/\">Duo two-factor authentication<\/a> when using the &#8216;Quickconnect&#8217; method of connecting to the SCC using FileZilla from the opening screen. You should instead create a &#8216;Site&#8217; by doing the following steps:<\/p>\n<ol>\n<li>Open Site Manager with <strong>File &gt; Site Manager<\/strong>.<br \/>\n<img loading=\"lazy\" src=\"\/tech\/files\/2021\/03\/filezilla1.png\" width=\"442\" height=\"212\" class=\"alignnone\" alt=\"Click on &quot;File&quot; at the top left of the toolbar and choose &quot;Site Manager&quot; from the dropdown options.\" \/><\/li>\n<li>Single-click the name of your SCC site on the left or select &#8220;New Site&#8221; (you can then &#8220;Rename&#8221; your site). Change the <strong>Logon Type<\/strong> to \u201cInteractive.\u201d Also, enter your BU login name in the &#8220;User:&#8221; box.<br \/>\n<img loading=\"lazy\" src=\"\/tech\/files\/2021\/03\/filezilla2.png\" width=\"806\" height=\"475\" class=\"alignnone\" alt=\"For the Interactive Logon, select SCC Interface &amp; input BU login.\" \/><\/li>\n<li>Click <strong>Connect<\/strong>. A box will appear to ask for your password. Enter your BU Kerberos password and click <strong>OK<\/strong>.<\/li>\n<li>A new box will let you choose a way to respond with Duo. This should be familiar to you from other applications. Respond to the challenge and FileZilla will connect. Note that the box says &#8216;Password&#8217; but it is really asking you to choose a number for which method you want to use to connect to Duo.<br \/>\n<br clear=\"left\" \/><img loading=\"lazy\" src=\"\/tech\/files\/2021\/03\/filezilla3.png\" width=\"314\" height=\"329\" class=\"alignnone\" alt=\"In the gray password box, select a number from the white box to indicate your preferred method of Duo connection.\" \/><\/li>\n<li>When you connect to the SCC from the same computer in the next 30 days, it will prompt for a password with the same type of box but it should not present a Duo challenge. This only applies if you are connecting from the same machine to the same SCC node and you are using the same IP address.<\/li>\n<li>Once you have a site, you can access it again quickly by clicking on the arrow next to the icon on the far left side of the list of toolbar icons, just below the &#8220;File&#8221; menu. This will bring up a list of sites, click on yours to connect to it again.<\/li>\n<\/ol>\n<h4>File Transfer using MobaXterm <a name=\"WIN-MOBAXTERM\" href=\"#WIN-MOBAXTERM\" style=\"text-decoration:none;\">&#x1F517;<\/a><\/h4>\n<p>When you log in to a remote SCC session using SSH, a graphical SFTP (Secure File Transfer Protocol) browser appears in the left sidebar allowing you to drag and drop files directly to or from the SCC using the SFTP connection.<br \/>\n<img loading=\"lazy\" src=\"\/tech\/files\/2022\/03\/moba_exterm_file_management2-1-414x636.png\" alt=\"Access the SCC remote session via SSH. Use its graphical SFTP browser on the left sidebar to drag and drop files securely to\/from the SCC. \" class=\"alignnone wp-image-139382 size-medium\" width=\"414\" height=\"636\" srcset=\"https:\/\/www.bu.edu\/tech\/files\/2022\/03\/moba_exterm_file_management2-1-414x636.png 414w, https:\/\/www.bu.edu\/tech\/files\/2022\/03\/moba_exterm_file_management2-1.png 565w\" sizes=\"(max-width: 414px) 100vw, 414px\" \/><\/p>\n<\/div>\n<p><!-- END WINDOWS --><\/p>\n<p><!-- START APPLE --><\/p>\n<div id=\"apple\">\n<h2>Apple OS X<\/h2>\n<p>On Apple OS X, <span class=\"command\"><b>sftp<\/b><\/span> is a built in utility on the command line. Still, most users prefer to use an SFTP application with a graphical user interface to facilitate data transfer. There are numerous applications available, this guide goes over using the &#8220;FileZilla&#8221; and &#8220;Fetch&#8221; applications.<\/p>\n<h4>Other FTP\/SFTP Clients <a name=\"OSX-OTHERFTP\" href=\"#OSX-OTHERFTP\" style=\"text-decoration:none;\">&#x1F517;<\/a><\/h4>\n<ol>\n<li><a href=\"https:\/\/filezilla-project.org\/\">FileZilla<\/a><\/li>\n<li><a href=\"https:\/\/www.bu.edu\/tech\/support\/desktop\/software\/mac\/fetch\/\">Fetch<\/a> (BU Site License)<\/li>\n<li><a href=\"https:\/\/cyberduck.io\/\">Cyberduck<\/a><\/li>\n<\/ol>\n<h4>File Transfer using FileZilla <a href=\"#OSX-FILEZILLA\" style=\"text-decoration:none;\">&#x1F517;<\/a><\/h4>\n<p>There are issues with <a href=\"https:\/\/www.bu.edu\/tech\/support\/research\/system-usage\/connect-scc\/access-and-security\/two-factor\/\">Duo two-factor authentication<\/a> when using the &#8216;Quickconnect&#8217; method of connecting to the SCC using FileZilla from the opening screen. You should instead create a &#8216;Site&#8217; by doing the following steps:<\/p>\n<ol>\n<li>Open Site Manager by clicking the indicated icon in the upper left of the window.<br \/>\n<img loading=\"lazy\" src=\"\/tech\/files\/2021\/07\/filezilla1.png\" width=\"2437\" height=\"492\" class=\"alignnone\" alt=\"Enter host, username, password, and port information in the four white labeled rectangles found from left to right in the site manager interface.\" \/><\/li>\n<li>As indicated by the green circles, do the following things. Select &#8220;New Site&#8221; (you can then &#8220;Rename&#8221; your site if you want). Change the <strong>Logon Type<\/strong> to \u201cInteractive.\u201d Also, enter your BU login name in the &#8220;User:&#8221; box.<br \/>\n<img loading=\"lazy\" src=\"\/tech\/files\/2021\/07\/filezilla2.png\" width=\"2428\" height=\"1941\" class=\"alignnone\" alt=\"In the gray box, fill in the three labeled boxes on the right with &quot;scc1.bu.edu&quot; as host, &quot;Interactive&quot; as Logon Type, and your BU login name.  Click &quot;New Site&quot; on the left.\" \/><\/li>\n<li>Click <strong>Connect<\/strong>. A box will appear to ask for your password. Enter your BU Kerberos password and click <strong>OK<\/strong>.<br \/>\n<img loading=\"lazy\" src=\"\/tech\/files\/2021\/07\/filezilla3.png\" width=\"2437\" height=\"1926\" class=\"alignnone\" alt=\"A login prompt in the form of a gray pop-up box with a white rectangle for entering your password.\" \/><\/li>\n<li>A new box will let you choose a way to respond with Duo. This should be familiar to you from other applications. Respond to the challenge and FileZilla will connect. Note that the box says &#8216;Password&#8217; but it is really asking you to choose a number for which method you want to use to connect to Duo.<br \/>\n<img loading=\"lazy\" src=\"\/tech\/files\/2021\/07\/filezilla4.png\" width=\"2419\" height=\"1926\" class=\"alignnone\" alt=\"In the outlined rectangle, select your preferred Duo connection method by choosing a number.\" \/><\/li>\n<li>When you connect to the SCC from the same computer in the next 30 days, it will prompt for a password with the same type of box but it should not present a Duo challenge. This only applies if you are connecting from the same machine to the same SCC node and you are using the same IP address.<\/li>\n<\/ol>\n<h4>Using Fetch for File Transfer <a name=\"OSX-FETCH\" href=\"#OSX-FETCH\" style=\"text-decoration:none;\">&#x1F517;<\/a><\/h4>\n<ol>\n<li>Hold the <b>&lt;command&gt;<\/b> key down with your left hand and the space bar with your right hand; type <b>Fetch<\/b> followed by the <b>&lt;return&gt;<\/b> key. If nothing comes up, you must first install the <a href=\"https:\/\/www.bu.edu\/tech\/services\/cccs\/desktop\/software\/mac\/fetch\/\">Fetch<\/a> application.<\/li>\n<li>Hold down the <b>&lt;command&gt;<\/b> key with your left hand and press the \u201c<b>N<\/b>\u201d key with your right. This action will open a new connection window. Enter these values, and then press the \u201cConnect\u201d button:\n<pre><code class=\"code-block\">Hostname: scc1.bu.edu\r\nUsername: <span class=\"placeholder\">yourBULoginName<\/span>\r\nConnect using: SFTP\r\nPassword: <span class=\"placeholder\">yourBUKerberosPassword<\/span> (click the \u201cAdd to keychain\u201d\r\n          checkbox if you want to store it)<\/code><\/pre>\n<p><img loading=\"lazy\" src=\"\/tech\/files\/2013\/11\/mac_scc3.png\" width=\"600\" height=\"1056\" class=\"alignnone\" alt=\"Gray connectivity window with empty fields for Hostname, Username, and Connect. Fill the fields and press &quot;Connect&quot; at bottom right.\" \/><\/li>\n<li>In addition to your password entered above, you will also be asked to use <a href=\"https:\/\/www.bu.edu\/tech\/support\/research\/system-usage\/connect-scc\/access-and-security\/two-factor\/\">Duo two-factor authentication<\/a>\n<p><div style=\"width: 1431px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" src=\"\/tech\/files\/2021\/07\/fetch2.png\" width=\"1421\" height=\"910\" alt=\"Use the white box to complete Duo two-factor authentication. Enter a passcode or select from 1-7 contact options.\" \/><p class=\"wp-caption-text\">Confirm your phone number by selecting from 1-7 options in the white field box.<\/p><\/div><\/li>\n<li>To copy a local file to the SCC, click on the \u201cPut\u201d button on the icon bar and then pick the file you want in the file selection dialog that opens. To copy a file from the SCC, highlight it with a mouse click in the main Fetch window, and then click on the \u201cGet\u201d button on the icon bar.<img loading=\"lazy\" src=\"\/tech\/files\/2013\/11\/mac_scc4.png\" width=\"600\" height=\"1060\" class=\"alignnone\" alt=\"On the SCC window, move files by clicking the &quot;Put&quot; button on the top center icon bar and choosing your desired file in the left column file selection dialog.\" \/><\/li>\n<\/ol>\n<\/div>\n<p><!-- END APPLE --><\/p>\n<p><!-- START LINUX --><\/p>\n<div id=\"linux\">\n<h2>Linux<\/h2>\n<p>One way to transfer a file is to use the <b>scp<\/b> command, executed on your local machine:<\/p>\n<pre class=\"code-block\"><code><span class=\"prompt\"><span class=\"placeholder\">localMachine<\/span>%<\/span> <span class=\"command\">scp<\/span> <span class=\"placeholder\">LocalFile<\/span> <span class=\"placeholder\">username<\/span>@scc1.bu.edu:<span class=\"placeholder\">\/path\/to\/destination<\/span><\/code><\/pre>\n<p>Below is a specific example<\/p>\n<pre class=\"code-block\"><code><span class=\"prompt\"><span class=\"placeholder\">localMachine<\/span>%<\/span> <span class=\"command\">scp<\/span> <span class=\"placeholder\">hello_world.py<\/span> <span class=\"placeholder\">yannpaul<\/span>@scc1.bu.edu:<span class=\"placeholder\">\/project\/your_project_name\/<\/span><\/code><\/pre>\n<p><span class=\"command\">scp<\/span> works like <code><span class=\"command\">cp<\/span><\/code> but uses <code><span class=\"command\">ssh<\/span><\/code> to connect, so you will be asked for your password again and may need to complete a DUO authentication.<\/p>\n<\/div>\n<p><!-- END LINUX --><\/p>\n<div id=\"backtotop\"><a href=\"#top\">Back to top<\/a><\/div>\n<p><script type=\"text\/javascript\">\r\nfunction show_os(os){    \r\nif (os == \"windows\"){\r\n \t   document.getElementById('windows').style.display = 'block';\r\n \t   document.getElementById('apple').style.display = 'none';\r\n \t   document.getElementById('linux').style.display = 'none';\r\n           document.getElementById('backtotop').style.display = 'block';\r\n  \t} \r\nelse if (os == \"apple\"){\r\n \t   document.getElementById('windows').style.display = 'none';\r\n \t   document.getElementById('apple').style.display = 'block';\r\n \t   document.getElementById('linux').style.display = 'none';\r\n           document.getElementById('backtotop').style.display = 'block';\r\n         }   \r\nelse if (os == \"linux\"){\r\n           document.getElementById('windows').style.display = 'none';\r\n \t   document.getElementById('apple').style.display = 'none';\r\n \t   document.getElementById('linux').style.display = 'block';\r\n           document.getElementById('backtotop').style.display = 'block';\r\n  \t}  \r\nelse{\r\n \t   document.getElementById('windows').style.display = 'none';\r\n \t   document.getElementById('apple').style.display = 'none';\r\n \t   document.getElementById('linux').style.display = 'none';\r\n           document.getElementById('backtotop').style.display = 'none';\r\n     }\r\n }\r\n<\/script><\/p>\n<\/div>\n<p><!-- END div id=x-forwarding --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview There are numerous applications that support Secure Copy (scp) or Secure File Transfer Protocol (SFTP) on each operating system. Select your operating system below for tailored instructions. Select your operating system Microsoft Windows Apple OS X Linux Distributions Windows On Microsoft Windows, an SFTP client must be downloaded to transfer files to the Shared&#8230;<\/p>\n","protected":false},"author":1692,"featured_media":0,"parent":137947,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/137949"}],"collection":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/users\/1692"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/comments?post=137949"}],"version-history":[{"count":22,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/137949\/revisions"}],"predecessor-version":[{"id":156268,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/137949\/revisions\/156268"}],"up":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/137947"}],"wp:attachment":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/media?parent=137949"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}