Bitcoin Forum
June 24, 2024, 03:56:50 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Unix command/script ? 5$  (Read 178 times)
MovieBTC (OP)
Full Member
***
Offline Offline

Activity: 156
Merit: 100


View Profile
November 20, 2016, 04:15:43 PM
 #1

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.

Code: Hello
Joel_Jantsen
Legendary
*
Offline Offline

Activity: 1918
Merit: 1310

Get your game girl


View Profile
November 20, 2016, 05:23:41 PM
 #2

Inbox me,I can do it.Away from my machine at the moment,will work on it once I reach home.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!