{"id":534,"date":"2024-04-03T14:52:22","date_gmt":"2024-04-03T18:52:22","guid":{"rendered":"https:\/\/sites.bu.edu\/marcom-team\/?page_id=534"},"modified":"2025-09-03T17:35:21","modified_gmt":"2025-09-03T21:35:21","slug":"sftp-code-editors","status":"publish","type":"page","link":"https:\/\/sites.bu.edu\/marcom-team\/departments\/interactive-design\/role-specific-info\/designers-developers\/dev-setup\/sftp-code-editors\/","title":{"rendered":"SFTP Setup"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">To view your changes while working on a site, you will need to use SFTP to upload your changes to either a <a href=\"https:\/\/sites.bu.edu\/marcom-team\/departments\/interactive-design\/what-we-do\/our-setup\/sandboxes\/\">development<\/a> <a href=\"https:\/\/sites.bu.edu\/marcom-team\/departments\/interactive-design\/role-specific-info\/designers-developers\/common-processes\/obtaining-an-individual-sandbox\/\">sandbox<\/a>, or the <a href=\"https:\/\/sites.bu.edu\/marcom-team\/departments\/interactive-design\/what-we-do\/our-setup\/webdev\/\">static site<\/a> directories for <a href=\"https:\/\/sites.bu.edu\/marcom-team\/departments\/interactive-design\/role-specific-info\/designers\/webteam-for-presentations\/\">webteam<\/a> or <a href=\"https:\/\/sites.bu.edu\/marcom-team\/departments\/interactive-design\/role-specific-info\/designers\/custom-editorial-projects\/\">feature articles<\/a>. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Static file directories are live on our production environment. Edit these very carefully. You may not have access to static file directories: access to individual directories usually has to be granted on an as-needed basis.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you are working remotely: You will need to <\/span><a href=\"http:\/\/www.bu.edu\/tech\/services\/cccs\/remote\/vpn\/use\/\"><span style=\"font-weight: 400;\">connect to the BU VPN<\/span><\/a><span style=\"font-weight: 400;\"> to SFTP to our servers.<\/span><\/p>\n<h2><strong>Sandboxes<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">For work on Framework, custom themes, plugins, and other WordPress-specific work.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Protocol: <code>SFTP<\/code><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Server: <code>ist-wp-app-dv01.bu.edu<\/code><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Path: <code>\/var\/www\/sandboxes\/<strong>{sandbox-name}<\/strong>\/current\/<\/code><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Username and Password: [usually the same as your] BU Kerberos<\/span><\/li>\n<\/ul>\n<h2><strong>Static File Directories<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">For work on static HTML sites and uploading presentation files for client work.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Protocol: <code>SFTP<\/code><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Server: <code>webdev.bu.edu<\/code><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Path: <code>\/web\/w\/e\/webteam\/projects\/<\/code><\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">The path is always the first two letters of the site you want to edit, then the name of the site.<\/span><\/li>\n<\/ul>\n<\/li>\n<li><span style=\"font-weight: 400;\">Username and Password: [usually the same as your] BU Kerberos<\/span><\/li>\n<\/ul>\n<div class=\" bu-callout aligncenter\"><\/p>\n<h2><strong>Trouble uploading a file, or permission denied?<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">This is usually caused by one of two things:<\/span><\/p>\n<h4><span style=\"font-weight: 400;\"><strong>For Sandboxes<\/strong><\/span><\/h4>\n<p><span style=\"font-weight: 400;\">Someone uploaded files with a different set of permissions than you have.\u00a0<\/span><\/p>\n<p>Shoot a developer this link for assistance: <a href=\"https:\/\/sites.bu.edu\/marcom-team\/departments\/interactive-design\/role-specific-info\/info-for-developers\/fixing-file-permissions-issues\/\"><span style=\"font-weight: 400;\">Fix File Permissions Issues<\/span><\/a><\/p>\n<h4><strong>For Static File Directories<\/strong><\/h4>\n<p><span style=\"font-weight: 400;\">You need access to the folder in AFS. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Ask the Director of Interactive Development to grant you access to the folder you need and sharing this: <\/span><a href=\"http:\/\/www.bu.edu\/help\/web\/site-access\/\"><span style=\"font-weight: 400;\">http:\/\/www.bu.edu\/help\/web\/site-access\/<\/span><\/a><\/p>\n<h4><strong>For SSH Key Issues<\/strong><\/h4>\n<div aria-setsize=\"-1\" class=\"c-virtual_list__item\" role=\"listitem\" id=\"C01DACDDVQU-1741877370.886999-thread-list-Thread_1741877370.886999\" data-qa=\"virtual-list-item\" data-item-key=\"1741877370.886999\" tabindex=\"0\">\n<div role=\"presentation\" class=\"c-message_kit__background c-message_kit__background--hovered c-message_kit__background--labels c-message_kit__background--labels--later c-message_kit__message c-message_kit__thread_message c-message_kit__thread_message--root\" data-qa=\"message_container\" data-qa-unprocessed=\"false\" data-qa-placeholder=\"false\" data-qa-label=\"later\">\n<div role=\"document\" aria-roledescription=\"message\" class=\"c-message_kit__hover c-message_kit__hover--hovered\" data-qa-hover=\"true\">\n<div class=\"c-message_kit__actions c-message_kit__actions--inside\">\n<div class=\"c-message_kit__labels c-message_kit__labels--light\">\n<div class=\"c-message_kit__gutter\">\n<div role=\"presentation\" class=\"c-message_kit__gutter__right\" data-qa=\"message_content\">\n<div class=\"c-message_kit__blocks c-message_kit__blocks--rich_text\">\n<div class=\"c-message__message_blocks c-message__message_blocks--rich_text\" data-qa=\"message-text\">\n<div class=\"p-block_kit_renderer\" data-qa=\"block-kit-renderer\">\n<div class=\"p-block_kit_renderer__block_wrapper p-block_kit_renderer__block_wrapper--first\">\n<div class=\"p-rich_text_block\" dir=\"auto\">\n<div class=\"p-rich_text_section\">Setting up a dev environment on your computer, or unsure of what an SSH Key is?<br \/>\nConsult the following Wiki from GitHub.<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><a href=\"https:\/\/docs.github.com\/en\/authentication\/connecting-to-github-with-ssh\/adding-a-new-ssh-key-to-your-github-account\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"button button-secondary\">SSH Keys with GitHub<\/a><\/p>\n<p><\/div>\n<h2>Code Editors<\/h2>\n<p>Selecting the right local code editor or IDE is key to efficient development. This section highlights tools that streamline coding, debugging, and project management, helping you choose the environment that best suits your workflow.<\/p>\n<p><a href=\"https:\/\/sites.bu.edu\/marcom-team\/departments\/interactive-design\/role-specific-info\/designers-developers\/dev-setup\/code-editors\/vs-code\/\" class=\"button button-secondary\">Set up for VS Code<\/a><br \/>\n<a href=\"https:\/\/sites.bu.edu\/marcom-team\/departments\/interactive-design\/role-specific-info\/designers-developers\/dev-setup\/sftp-code-editors\/zed\/\" class=\"button button-secondary\">Set up for Zed<\/a><br \/>\n<a href=\"https:\/\/sites.bu.edu\/marcom-team\/departments\/interactive-design\/role-specific-info\/designers-developers\/dev-setup\/sftp-code-editors\/coda\/\" class=\"button button-secondary\">Set up for Coda<\/a><br \/>\n<a href=\"https:\/\/sites.bu.edu\/marcom-team\/departments\/interactive-design\/designers-developers\/vpn-sftp-setup-for-code-editors-instructions-for-tower-or-git\/atom-2\/\" class=\"button button-secondary\">Set up for Atom<\/a><br \/>\n<a href=\"https:\/\/sites.bu.edu\/marcom-team\/departments\/interactive-design\/role-specific-info\/designers-developers\/dev-setup\/sftp-code-editors\/sublime-text\/\" class=\"button button-secondary\">Set up for Sublime Text<\/a><\/p>\n<div class=\" bu-callout aligncenter\"><\/p>\n<h3>Global .gitignore for Editor-specific Files<\/h3>\n<p>Do you get tired of adding your editor-specific config files to the <code>.gitignore<\/code> file in each and every repo you work on? Like the <code>.vscode<\/code> folder or other editor plugin configs?<\/p>\n<p>&nbsp;<\/p>\n<p>Instead of doing that in each repo, you can set up a global <code>.gitignore<\/code> file in your <strong>Home Directory<\/strong> for macOS. Anything specific to your configuration, editor, workflow, tools, etc., can and should be added there. This keeps the <code>.gitignore<\/code> files in our repos clean and free from personal editor, plugin, or config clutter.<\/p>\n<p>&nbsp;<\/p>\n<p>Even though most folks use <strong>VSCode<\/strong>, it\u2019s best to add those entries \u2014 and things like <code>.DS_Store<\/code> \u2014 to your global <code>.gitignore<\/code> instead of each repo.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/sourabhbajaj.com\/mac-setup\/Git\/gitignore.html\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"button button-secondary\">Find Out How<\/a><\/p>\n<p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>To view your changes while working on a site, you will need to use SFTP to upload your changes to either a development sandbox, or the static site directories for webteam or feature articles. Static file directories are live on our production environment. Edit these very carefully. You may not have access to static file [&hellip;]<\/p>\n","protected":false},"author":12906,"featured_media":0,"parent":2256,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/sites.bu.edu\/marcom-team\/wp-json\/wp\/v2\/pages\/534"}],"collection":[{"href":"https:\/\/sites.bu.edu\/marcom-team\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.bu.edu\/marcom-team\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.bu.edu\/marcom-team\/wp-json\/wp\/v2\/users\/12906"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.bu.edu\/marcom-team\/wp-json\/wp\/v2\/comments?post=534"}],"version-history":[{"count":36,"href":"https:\/\/sites.bu.edu\/marcom-team\/wp-json\/wp\/v2\/pages\/534\/revisions"}],"predecessor-version":[{"id":3836,"href":"https:\/\/sites.bu.edu\/marcom-team\/wp-json\/wp\/v2\/pages\/534\/revisions\/3836"}],"up":[{"embeddable":true,"href":"https:\/\/sites.bu.edu\/marcom-team\/wp-json\/wp\/v2\/pages\/2256"}],"wp:attachment":[{"href":"https:\/\/sites.bu.edu\/marcom-team\/wp-json\/wp\/v2\/media?parent=534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}