[{"data":1,"prerenderedAt":825},["ShallowReactive",2],{"\u002Fnetwork\u002Fsftp":3,"\u002Fnetwork":586},{"id":4,"title":5,"body":6,"description":578,"extension":579,"meta":580,"navigation":581,"path":582,"seo":583,"stem":584,"__hash__":585},"networks\u002Fnetwork\u002Fsftp.md","How to Connect Android to an SFTP Server",{"type":7,"value":8,"toc":559},"minimark",[9,19,22,38,49,54,157,161,205,210,213,234,238,242,245,285,296,300,317,321,352,356,359,377,381,439,442,446,451,475,480,488,493,501,506,519,523,547,551],[10,11,12,13,18],"p",{},"SFTP (SSH File Transfer Protocol) is the secure way to transfer files over the internet. Unlike plain ",[14,15,17],"a",{"href":16},"\u002Fnetwork\u002Fftp","FTP",", every SFTP connection is encrypted via SSH — your credentials and file data are protected in transit. AnExplorer supports SFTP with both password and SSH key authentication.",[10,20,21],{},"SFTP is the right choice when:",[23,24,25,29,32,35],"ul",{},[26,27,28],"li",{},"Connecting to a remote server (VPS, cloud server, home server with port-forwarding)",[26,30,31],{},"Accessing a Synology or QNAP NAS from outside your home network",[26,33,34],{},"Working with a Linux machine or Raspberry Pi over the internet",[26,36,37],{},"Security is important (e.g., you're on public Wi-Fi)",[10,39,40,41,45,46,48],{},"For local-only transfers on a home network, ",[14,42,44],{"href":43},"\u002Fnetwork\u002Fsmb","SMB"," or ",[14,47,17],{"href":16}," are simpler options.",[50,51,53],"h2",{"id":52},"step-by-step-add-an-sftp-connection","Step-by-Step: Add an SFTP Connection",[55,56,57,64,78,145,151,154],"ol",{},[26,58,59,60],{},"Open ",[61,62,63],"strong",{},"AnExplorer",[26,65,66,67,70,71,74,75],{},"Navigate to the ",[61,68,69],{},"Network"," screen, then tap ",[61,72,73],{},"+"," > ",[61,76,77],{},"SFTP",[26,79,80,81],{},"Enter:\n",[23,82,83,97,111,127,133],{},[26,84,85,88,89,45,93,96],{},[61,86,87],{},"Host",": IP address or domain (e.g., ",[90,91,92],"code",{},"203.0.113.50",[90,94,95],{},"myserver.example.com",")",[26,98,99,102,103,106,107,110],{},[61,100,101],{},"Port",": Default SSH port is ",[90,104,105],{},"22","; some providers use ",[90,108,109],{},"2222"," or a random high port",[26,112,113,116,117,120,121,120,124,96],{},[61,114,115],{},"Username",": Your SSH login username (e.g., ",[90,118,119],{},"ubuntu",", ",[90,122,123],{},"pi",[90,125,126],{},"admin",[26,128,129,132],{},[61,130,131],{},"Password",": Your SSH password, OR leave blank if using an SSH key",[26,134,135,138,139,120,142,96],{},[61,136,137],{},"SSH Key",": (Optional) Tap to import a private key file (",[90,140,141],{},".pem",[90,143,144],{},"id_rsa",[26,146,147,148],{},"Tap ",[61,149,150],{},"Connect",[26,152,153],{},"If prompted to accept the server's fingerprint (host key), verify it matches and confirm",[26,155,156],{},"Bookmark the connection for quick access",[50,158,160],{"id":159},"password-vs-ssh-key-authentication","Password vs SSH Key Authentication",[162,163,164,180],"table",{},[165,166,167],"thead",{},[168,169,170,174,177],"tr",{},[171,172,173],"th",{},"Method",[171,175,176],{},"Security",[171,178,179],{},"Convenience",[181,182,183,194],"tbody",{},[168,184,185,188,191],{},[186,187,131],"td",{},[186,189,190],{},"🟡 OK",[186,192,193],{},"Easy to set up",[168,195,196,199,202],{},[186,197,198],{},"SSH Private Key",[186,200,201],{},"✅ Much stronger",[186,203,204],{},"Requires key setup",[206,207,209],"h3",{"id":208},"using-ssh-key-auth","Using SSH Key Auth",[10,211,212],{},"If your server uses key-based authentication (common on AWS, DigitalOcean, Linode, etc.):",[55,214,215,221,228,231],{},[26,216,217,218,220],{},"Copy the ",[90,219,141],{}," or private key file to your phone storage",[26,222,223,224,227],{},"In AnExplorer SFTP setup, tap ",[61,225,226],{},"Private Key"," and navigate to your key file",[26,229,230],{},"Leave the password field blank (or enter passphrase if your key is passphrase-protected)",[26,232,233],{},"Connect — SFTP authenticates via your key without a password",[50,235,237],{"id":236},"common-sftp-use-cases","Common SFTP Use Cases",[206,239,241],{"id":240},"vps-cloud-server-aws-digitalocean-linode-vultr","VPS \u002F Cloud Server (AWS, DigitalOcean, Linode, Vultr)",[10,243,244],{},"All major VPS providers use SSH + key-based auth:",[23,246,247,254,261,276],{},[26,248,249,251,252,96],{},[61,250,87],{},": Your VPS IP (e.g., ",[90,253,92],{},[26,255,256,258,259],{},[61,257,101],{},": ",[90,260,105],{},[26,262,263,258,265,267,268,271,272,275],{},[61,264,115],{},[90,266,119],{}," (Ubuntu\u002FDebian), ",[90,269,270],{},"ec2-user"," (Amazon Linux), ",[90,273,274],{},"root"," (depends on provider)",[26,277,278,281,282,284],{},[61,279,280],{},"Key",": The ",[90,283,141],{}," file downloaded when you created the instance",[10,286,287,288,291,292,295],{},"Once connected, you can browse ",[90,289,290],{},"\u002Fvar\u002Fwww\u002Fhtml"," to manage web files, ",[90,293,294],{},"\u002Fhome\u002Fusername\u002F"," for user files, or any directory your SSH user has access to.",[206,297,299],{"id":298},"synology-nas-remote-sftp","Synology NAS (Remote SFTP)",[55,301,302,305,308,311],{},[26,303,304],{},"DSM > Control Panel > Terminal & SNMP > Enable SSH service",[26,306,307],{},"Port: 22 (or change for security)",[26,309,310],{},"Connect from AnExplorer: NAS public IP or DDNS hostname, port 22, DSM username\u002Fpassword",[26,312,313,314,316],{},"At home on local Wi-Fi, ",[14,315,44],{"href":43}," is faster. SFTP is better when you're away from home.",[206,318,320],{"id":319},"raspberry-pi","Raspberry Pi",[55,322,323,329,335,341],{},[26,324,325,326],{},"Enable SSH on Pi: ",[90,327,328],{},"sudo systemctl enable ssh && sudo systemctl start ssh",[26,330,331,332],{},"Find Pi IP: ",[90,333,334],{},"hostname -I",[26,336,337,338,340],{},"Connect from AnExplorer: Pi's local IP, port 22, username ",[90,339,123],{}," (Raspberry Pi OS default)",[26,342,343,344,347,348,351],{},"Browse ",[90,345,346],{},"\u002Fhome\u002Fpi\u002F"," for user files, ",[90,349,350],{},"\u002Fmedia\u002Fpi\u002F"," for attached USB drives",[206,353,355],{"id":354},"linux-home-server","Linux Home Server",[10,357,358],{},"Any Linux machine with OpenSSH server installed is immediately accessible:",[23,360,361,368,374],{},[26,362,363,364,367],{},"Install: ",[90,365,366],{},"sudo apt install openssh-server"," (Ubuntu\u002FDebian)",[26,369,370,371],{},"Start: ",[90,372,373],{},"sudo systemctl enable --now ssh",[26,375,376],{},"Connect from AnExplorer using the machine's IP and your Linux username",[50,378,380],{"id":379},"sftp-vs-ftp-vs-sftp","SFTP vs FTP vs SFTP",[162,382,383,398],{},[165,384,385],{},[168,386,387,390,392,395],{},[171,388,389],{},"Protocol",[171,391,101],{},[171,393,394],{},"Encryption",[171,396,397],{},"Best for",[181,399,400,413,427],{},[168,401,402,404,407,410],{},[186,403,17],{},[186,405,406],{},"21",[186,408,409],{},"❌",[186,411,412],{},"Local network only",[168,414,415,418,421,424],{},[186,416,417],{},"FTPS",[186,419,420],{},"990",[186,422,423],{},"✅ TLS",[186,425,426],{},"FTP servers with TLS support",[168,428,429,431,433,436],{},[186,430,77],{},[186,432,105],{},[186,434,435],{},"✅ SSH",[186,437,438],{},"Any SSH-capable server",[10,440,441],{},"SFTP and FTPS are both encrypted, but SFTP runs over SSH (port 22) which is already open on most servers. FTPS requires TLS certificate setup on the server side. SFTP is easier to configure and more universally supported.",[50,443,445],{"id":444},"troubleshooting-sftp","Troubleshooting SFTP",[10,447,448],{},[61,449,450],{},"\"Authentication failed\" with correct password:",[23,452,453,464,467],{},[26,454,455,456,459,460,463],{},"The server may have ",[90,457,458],{},"PasswordAuthentication no"," in ",[90,461,462],{},"\u002Fetc\u002Fssh\u002Fsshd_config"," — key auth required",[26,465,466],{},"Check username case (case-sensitive on Linux)",[26,468,469,470,120,472,474],{},"On AWS\u002FGCP, root password login is typically disabled; use the correct user (",[90,471,119],{},[90,473,270],{},", etc.)",[10,476,477],{},[61,478,479],{},"\"Connection timeout\" (never connects):",[23,481,482,485],{},[26,483,484],{},"Firewall on the server may be blocking port 22 — check server security group \u002F iptables rules",[26,486,487],{},"Some home routers don't forward port 22 to your server — check port-forwarding rules",[10,489,490],{},[61,491,492],{},"\"Host key verification failed\":",[23,494,495,498],{},[26,496,497],{},"This happens if the server's SSH fingerprint changed (e.g., server was rebuilt)",[26,499,500],{},"Remove the old known host entry in AnExplorer's SFTP settings and reconnect",[10,502,503],{},[61,504,505],{},"Transfer is slow over mobile data:",[23,507,508,511],{},[26,509,510],{},"SFTP over internet is typically 5–15 MB\u002Fs depending on your connection. Check your mobile data speed with a speed test first.",[26,512,513,514,518],{},"Large transfers are faster on Wi-Fi to a home VPN + SMB, but that requires ",[14,515,517],{"href":516},"\u002Fnetwork\u002Fopenvpn-share","VPN setup",".",[50,520,522],{"id":521},"related-guides","Related Guides",[23,524,525,531,536,541],{},[26,526,527],{},[14,528,530],{"href":529},"\u002Fnetwork\u002Fsftp-server","SFTP Server on Android",[26,532,533],{},[14,534,535],{"href":16},"FTP client for Android",[26,537,538],{},[14,539,540],{"href":43},"SMB for local network access",[26,542,543],{},[14,544,546],{"href":545},"\u002Fnetwork\u002Fnas","NAS setup guide",[50,548,550],{"id":549},"install","Install",[10,552,553],{},[14,554,558],{"href":555,"rel":556},"https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=dev.dworks.apps.anexplorer",[557],"nofollow","Install AnExplorer",{"title":560,"searchDepth":561,"depth":561,"links":562},"",2,[563,564,568,574,575,576,577],{"id":52,"depth":561,"text":53},{"id":159,"depth":561,"text":160,"children":565},[566],{"id":208,"depth":567,"text":209},3,{"id":236,"depth":561,"text":237,"children":569},[570,571,572,573],{"id":240,"depth":567,"text":241},{"id":298,"depth":567,"text":299},{"id":319,"depth":567,"text":320},{"id":354,"depth":567,"text":355},{"id":379,"depth":561,"text":380},{"id":444,"depth":561,"text":445},{"id":521,"depth":561,"text":522},{"id":549,"depth":561,"text":550},"AnExplorer connects to any SFTP server over SSH. Browse VPS files, Linux servers, Raspberry Pi, and Synology NAS from your phone. Password and SSH key authentication both supported.","md",{},true,"\u002Fnetwork\u002Fsftp",{"title":5,"description":578},"network\u002Fsftp","lEq_pd4SdvkaJ_LOZPUUKOalQlF_CbqHnhdKGbyXZdo",{"id":587,"title":588,"body":589,"description":809,"extension":579,"meta":810,"navigation":581,"path":821,"seo":822,"stem":823,"__hash__":824},"content\u002Fnetwork.md","Android Network File Access Guides for SMB, FTP, SFTP & NAS",{"type":7,"value":590,"toc":803},[591,594,598,642,646,675,679,687,691],[10,592,593],{},"AnExplorer connects to every major network file protocol — as both a client (connect to a server) and a server (run a server from your phone).",[50,595,597],{"id":596},"connect-to-a-remote-server-client","Connect to a Remote Server (Client)",[23,599,600,605,610,615,622,628,635],{},[26,601,602,604],{},[14,603,17],{"href":16}," — connect to FTP servers on NAS, routers, or PCs",[26,606,607,609],{},[14,608,77],{"href":582}," — secure SSH-based file transfer; VPS, NAS, Raspberry Pi",[26,611,612,614],{},[14,613,44],{"href":43}," — Windows file shares, Samba; fastest for LAN NAS access",[26,616,617,621],{},[14,618,620],{"href":619},"\u002Fnetwork\u002Fwebdav","WebDAV"," — Nextcloud, ownCloud, pCloud, Synology; HTTPS-friendly",[26,623,624,627],{},[14,625,626],{"href":545},"NAS"," — brand-specific setup guides for Synology, QNAP, WD, TrueNAS",[26,629,630,634],{},[14,631,633],{"href":632},"\u002Fnetwork\u002Fdlna","DLNA \u002F UPnP"," — browse media server libraries (Plex, Jellyfin, Kodi)",[26,636,637,641],{},[14,638,640],{"href":639},"\u002Fnetwork\u002Fmedia-server","Media Server"," — access Plex, Jellyfin, Emby, Kodi from your phone",[50,643,645],{"id":644},"run-a-server-from-your-phone","Run a Server from Your Phone",[23,647,648,655,661,668],{},[26,649,650,654],{},[14,651,653],{"href":652},"\u002Fnetwork\u002Fftp-server","FTP Server"," — start an FTP server on Android; connect from Windows, Mac, Linux",[26,656,657,660],{},[14,658,659],{"href":529},"SFTP Server"," — encrypted SSH server on your phone",[26,662,663,667],{},[14,664,666],{"href":665},"\u002Fnetwork\u002Fwebdav-server","WebDAV Server"," — browser-accessible file server; works with macOS Finder and Windows",[26,669,670,674],{},[14,671,673],{"href":672},"\u002Fnetwork\u002Flocal-server","Device Connect"," — built-in HTTP server; browse phone files in any PC browser",[50,676,678],{"id":677},"privacy-and-remote-access","Privacy and Remote Access",[23,680,681],{},[26,682,683,686],{},[14,684,685],{"href":516},"VPN + File Sharing"," — WireGuard, OpenVPN, Tailscale for remote LAN access",[50,688,690],{"id":689},"protocol-quick-reference","Protocol Quick Reference",[162,692,693,704],{},[165,694,695],{},[168,696,697,699,701],{},[171,698,389],{},[171,700,101],{},[171,702,703],{},"Best For",[181,705,706,715,724,733,743,753,764,774,783,793],{},[168,707,708,710,712],{},[186,709,17],{},[186,711,406],{},[186,713,714],{},"Legacy NAS, routers",[168,716,717,719,721],{},[186,718,417],{},[186,720,420],{},[186,722,723],{},"FTP with TLS",[168,725,726,728,730],{},[186,727,77],{},[186,729,105],{},[186,731,732],{},"Secure remote servers, VPS",[168,734,735,737,740],{},[186,736,44],{},[186,738,739],{},"445",[186,741,742],{},"Windows shares, LAN NAS",[168,744,745,747,750],{},[186,746,620],{},[186,748,749],{},"80\u002F443",[186,751,752],{},"Nextcloud, cloud bridging",[168,754,755,758,761],{},[186,756,757],{},"DLNA",[186,759,760],{},"Auto",[186,762,763],{},"Media libraries",[168,765,766,768,771],{},[186,767,653],{},[186,769,770],{},"2221",[186,772,773],{},"Share phone over network",[168,775,776,778,780],{},[186,777,659],{},[186,779,109],{},[186,781,782],{},"Secure phone sharing",[168,784,785,787,790],{},[186,786,666],{},[186,788,789],{},"8765",[186,791,792],{},"Browser-friendly phone sharing",[168,794,795,797,800],{},[186,796,673],{},[186,798,799],{},"8080",[186,801,802],{},"Browser-based wireless access",{"title":560,"searchDepth":561,"depth":561,"links":804},[805,806,807,808],{"id":596,"depth":561,"text":597},{"id":644,"depth":561,"text":645},{"id":677,"depth":561,"text":678},{"id":689,"depth":561,"text":690},"Connect Android to FTP, SFTP, SMB, WebDAV, NAS, DLNA, and media servers with AnExplorer. Also run FTP, SFTP, and WebDAV servers on your Android phone.",{"faq":811},[812,815,818],{"q":813,"a":814},"What network protocols does AnExplorer support?","AnExplorer supports FTP, SFTP, SMB (Windows shares), WebDAV, DLNA\u002FUPnP, NAS devices, and local HTTP server access. Both client mode (connect to a server) and server mode (run a server from your Android phone) are available.",{"q":816,"a":817},"Can AnExplorer connect to my NAS?","Yes. AnExplorer connects to all major NAS brands — Synology, QNAP, WD, TrueNAS — via SMB, FTP, SFTP, or WebDAV protocols.",{"q":819,"a":820},"Can I browse my phone files from a computer?","Yes. The Device Connect feature turns your phone into a local HTTP server. Open any browser on a PC on the same Wi-Fi network and access all your phone files — no software needed on the computer.","\u002Fnetwork",{"title":588,"description":809},"network","3Jc6JqtYgv15mlNFeK9ooNU2sjZ80ZSs5CRLjkR9Zd8",1776756980113]