From d7771cf27f01e4178859afe6f5cdb25fff13fc73 Mon Sep 17 00:00:00 2001
From: Adam Caprez <acaprez2@unl.edu>
Date: Sat, 16 Nov 2019 05:31:40 +0000
Subject: [PATCH] Update lftp instructions to remove password from command line

The password will show up in the process listing otherwise
---
 content/Data_Storage/integrating_box_with_hcc.md | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/content/Data_Storage/integrating_box_with_hcc.md b/content/Data_Storage/integrating_box_with_hcc.md
index 982944ec..1d4549ee 100644
--- a/content/Data_Storage/integrating_box_with_hcc.md
+++ b/content/Data_Storage/integrating_box_with_hcc.md
@@ -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 %}}
-
-- 
GitLab