|
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.
|