From: marc.doudiet Date: Fri, 13 Aug 2010 14:08:53 +0000 (-0700) Subject: docs/frontends/FTP-and-SFTP.txt : ftpd and sftpd doesn't listen on loopback interface... X-Git-Tag: allmydata-tahoe-1.8.0c4~13 X-Git-Url: https://git.rkrishnan.org/simplejson/components/%22file:/index.php?a=commitdiff_plain;h=95c62dc238c9735adba78dbcf0463459f173bb32;p=tahoe-lafs%2Ftahoe-lafs.git docs/frontends/FTP-and-SFTP.txt : ftpd and sftpd doesn't listen on loopback interface only --- diff --git a/docs/frontends/FTP-and-SFTP.txt b/docs/frontends/FTP-and-SFTP.txt index 78f6bfa5..41ee8fa5 100644 --- a/docs/frontends/FTP-and-SFTP.txt +++ b/docs/frontends/FTP-and-SFTP.txt @@ -77,18 +77,19 @@ the BASEDIR/tahoe.cfg file: [ftpd] enabled = true - port = 8021 + port = tcp:8021:interface=127.0.0.1 accounts.file = private/ftp.accounts -The FTP server will listen on the given port number. The "accounts.file" -pathname will be interpreted relative to the node's BASEDIR. +The FTP server will listen on the given port number and on the loopback +interface only. The "accounts.file" pathname will be interpreted +relative to the node's BASEDIR. To enable the FTP server with an account server instead, provide the URL of that server in an "accounts.url" directive: [ftpd] enabled = true - port = 8021 + port = tcp:8021:interface=127.0.0.1 accounts.url = https://example.com/login You can provide both accounts.file and accounts.url, although it probably @@ -118,19 +119,20 @@ lines to the BASEDIR/tahoe.cfg file: [sftpd] enabled = true - port = 8022 + port = tcp:8022:interface=127.0.0.1 host_pubkey_file = private/ssh_host_rsa_key.pub host_privkey_file = private/ssh_host_rsa_key accounts.file = private/ftp.accounts -The SFTP server will listen on the given port number. The "accounts.file" -pathname will be interpreted relative to the node's BASEDIR. +The SFTP server will listen on the given port number and on the loopback +interface only. The "accounts.file" pathname will be interpreted +relative to the node's BASEDIR. Or, to use an account server instead, do this: [sftpd] enabled = true - port = 8022 + port = tcp:8022:interface=127.0.0.1 host_pubkey_file = private/ssh_host_rsa_key.pub host_privkey_file = private/ssh_host_rsa_key accounts.url = https://example.com/login