Bitcoin Forum

Economy => Services => Topic started by: MovieBTC on November 20, 2016, 04:15:43 PM



Title: Unix command/script ? 5$
Post by: MovieBTC on November 20, 2016, 04:15:43 PM
hello i need help wit ha Unix command/script, i have a RPI with some encrypted files which i want to access as fas as possible, i'd like to make a script on my computer which should do the following things automated:

SSH A@IP
[type password automated]

(once loged in)
veracrypt /home/file/Encrypted-file
(veracrypt will prompt for a mount directory which should be /home/pi/ecrypted-file)
it will then prompt for a password - Atumate the password.
it will then ask a question, just press "Enter"
it will ask a Y/N question again, select N
(decrypting will take about 5 min)

ask the user (me) to active a file by typing Y or N

if Y was chosen  a command like " elinks /home/pi/encryptedfile/test " should be activated

if N is selected, then nothing happens.


Title: Re: Unix command/script ? 5$
Post by: Joel_Jantsen on November 20, 2016, 05:23:41 PM
Inbox me,I can do it.Away from my machine at the moment,will work on it once I reach home.