[{"data":1,"prerenderedAt":205},["ShallowReactive",2],{"term-s\u002Fsftp":3,"related-s\u002Fsftp":189},{"id":4,"title":5,"acronym":6,"body":7,"category":170,"description":171,"difficulty":172,"extension":173,"letter":174,"meta":175,"navigation":79,"path":176,"related":177,"seo":182,"sitemap":183,"stem":186,"subcategory":187,"__hash__":188},"terms\u002Fterms\u002Fs\u002Fsftp.md","SFTP","SSH File Transfer Protocol",{"type":8,"value":9,"toc":164},"minimark",[10,15,19,23,26,30,153,157,160],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"SFTP is file transfer done the secure way. It uses SSH to encrypt everything — your password, the files, all of it. Despite the name, it's not FTP with encryption bolted on; it's a completely different protocol built on SSH. Always use SFTP, never plain FTP.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"SFTP is a binary protocol that provides secure file access, transfer, and management over an SSH connection. It operates on port 22 (same as SSH) and supports all file operations: upload, download, rename, delete, and directory management. Not to be confused with FTPS (FTP over TLS).",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Connect via SFTP\nsftp user@example.com\nsftp -i ~\u002F.ssh\u002Fkey.pem ubuntu@server.com\n\n# SFTP commands\nls, pwd, cd         # navigate remote\nlls, lpwd, lcd      # navigate local\nget remote.txt      # download\nput local.txt       # upload\nmkdir new-folder    # create directory\n","bash","",[38,39,40,49,60,74,81,87,102,117,129,141],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sHwdD","# Connect via SFTP\n",[41,50,52,56],{"class":43,"line":51},2,[41,53,55],{"class":54},"sBMFI","sftp",[41,57,59],{"class":58},"sfazB"," user@example.com\n",[41,61,63,65,68,71],{"class":43,"line":62},3,[41,64,55],{"class":54},[41,66,67],{"class":58}," -i",[41,69,70],{"class":58}," ~\u002F.ssh\u002Fkey.pem",[41,72,73],{"class":58}," ubuntu@server.com\n",[41,75,77],{"class":43,"line":76},4,[41,78,80],{"emptyLinePlaceholder":79},true,"\n",[41,82,84],{"class":43,"line":83},5,[41,85,86],{"class":47},"# SFTP commands\n",[41,88,90,93,96,99],{"class":43,"line":89},6,[41,91,92],{"class":54},"ls,",[41,94,95],{"class":58}," pwd,",[41,97,98],{"class":58}," cd",[41,100,101],{"class":47},"         # navigate remote\n",[41,103,105,108,111,114],{"class":43,"line":104},7,[41,106,107],{"class":54},"lls,",[41,109,110],{"class":58}," lpwd,",[41,112,113],{"class":58}," lcd",[41,115,116],{"class":47},"      # navigate local\n",[41,118,120,123,126],{"class":43,"line":119},8,[41,121,122],{"class":54},"get",[41,124,125],{"class":58}," remote.txt",[41,127,128],{"class":47},"      # download\n",[41,130,132,135,138],{"class":43,"line":131},9,[41,133,134],{"class":54},"put",[41,136,137],{"class":58}," local.txt",[41,139,140],{"class":47},"       # upload\n",[41,142,144,147,150],{"class":43,"line":143},10,[41,145,146],{"class":54},"mkdir",[41,148,149],{"class":58}," new-folder",[41,151,152],{"class":47},"    # create directory\n",[11,154,156],{"id":155},"when-youll-hear-this","When You'll Hear This",[16,158,159],{},"\"Upload the deployment files via SFTP.\" \u002F \"Configure the SFTP server to use key-based authentication only.\"",[161,162,163],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":51,"depth":51,"links":165},[166,167,168,169],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":155,"depth":51,"text":156},"networking","SFTP is file transfer done the secure way. It uses SSH to encrypt everything — your password, the files, all of it.","beginner","md","s",{},"\u002Fterms\u002Fs\u002Fsftp",[178,179,180,181],"SSH","FTP","Protocol","Port",{"title":5,"description":171},{"changefreq":184,"priority":185},"weekly",0.7,"terms\u002Fs\u002Fsftp",null,"YJ-v-aLTdg-3BvJnGi9FPROp_Ma6fW2MygmdOkHNdUs",[190,194,198,201],{"title":179,"path":191,"acronym":192,"category":170,"difficulty":172,"description":193},"\u002Fterms\u002Ff\u002Fftp","File Transfer Protocol","FTP is the old-school way to transfer files to a server. You connect with a username and password and upload or download files.",{"title":181,"path":195,"acronym":187,"category":196,"difficulty":172,"description":197},"\u002Fterms\u002Fp\u002Fport","general","A port is like an apartment number on a building. Your computer is the building (localhost), and multiple services live inside.",{"title":180,"path":199,"acronym":187,"category":170,"difficulty":172,"description":200},"\u002Fterms\u002Fp\u002Fprotocol","A protocol is just an agreed set of rules for how two parties communicate.",{"title":178,"path":202,"acronym":203,"category":170,"difficulty":172,"description":204},"\u002Fterms\u002Fs\u002Fssh","Secure Shell","SSH is like a secure remote control for servers.",1776518309744]