Skip to content
Snippets Groups Projects
Commit 5a7c9fd4 authored by John Thiltges's avatar John Thiltges
Browse files

Update lftp instructions to remove password from command line

The password will show up in the process listing otherwise
parent 3622e587
No related branches found
No related tags found
1 merge request!161Update lftp instructions to remove password from command line
......@@ -32,13 +32,15 @@ module load lftp
4. Connect to Box using your full email as the username and external password you created:
{{% panel theme="info" header="Connect to Box" %}}
{{< highlight bash >}}
lftp -u <username>,<password> ftps://ftp.box.com
lftp -u <username> ftps://ftp.box.com
Password: <password>
{{< /highlight >}}
{{% /panel %}}
5. Test the connection by running the `ls` command. You should see a listing of your Box files. Assuming it works, add a bookmark named "box" to use when connecting later:
5. Test the connection by running the `ls` command. You should see a listing of your Box files. Assuming it works, add a bookmark named "box" to use when connecting later. Optionally run `set bmk:save-passwords yes` first if you want lftp to remember the password:
{{% panel theme="info" header="Add lftp bookmark" %}}
{{< highlight bash >}}
lftp demo2@unl.edu@ftp.box.com:/> set bmk:save-passwords yes
lftp demo2@unl.edu@ftp.box.com:/> bookmark add box
{{< /highlight >}}
{{% /panel %}}
......@@ -89,4 +91,3 @@ module load lftp
lftp -f transfer.sh
{{< /highlight >}}
{{% /panel %}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment