Publishing with Hugo and ncftpput

github logo ・1 min read

Hi, currently I am using Hugo to write some small 'articles' on my page. Since I am using a webhoster which wants to much money for SSH access at the moment, I came up with using ncftpput to upload my files.

Changing something on my page and uploading the files with ncftpput gives me a nice one-liner

hugo && ncftpput -u username -p password servername remotepath localpath

but I don't like writing my password as plaintext in my terminal.
Does anybody here know how to store my password in a more secure way and have ncftpput read it out?

thanks in advance

twitter logo DISCUSS
Classic DEV Post from Aug 6

What to put in your portfolio as a beginner web dev

ylhn15 profile image
Currently Masters student for Information Technology in Germany. Hobby photograph and watchcollector.

Sore eyes? now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️