infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Cloverleaf
How to use Remote Command in the Cloud to Encrypt / Decrypt Directory or file?
Shawn X. Zhan
This is in regard to Infor Cloud docker containers using Remote Commands (no back end access), ask if anyone has ever used Remote Commands in the cloud to encrypt a directory or file? We tried:
/bin/bash -c "cd test/data/prd_data; gpg -e -- passphrase mypasswd A08_test.txt"
But we got:
gpg: cannot open '/dev/tty' : No such device or address.
Anyone can help? Appriciated!
Find more posts tagged with
Clovertech
Comments
david_barr
What happens if you try this?
/bin/bash -c “cd test/data/prd_data; gpg -e --no-tty — passphrase mypasswd A08_test.txt”
Shawn X. Zhan
This is what we got:
[10:25 AM] Kathy Prentice-Learn
******************************
Command Issued: /bin/bash -c "cd kpl_test1/data/_testdata/PROD_DATA;gpg -e -no-tty --passphrase mypassword A08_test.txt;ls -al"
gpg: cannot open `/dev/tty': No such device or address
total 12
drwxrwxrwx 2 hci staff 4096 Apr 10 18:03 .
drwxrwxrwx 4 hci staff 4096 Apr 10 18:05 ..
-rw-r--r-- 1 hci staff 2727 Apr 10 18:03 A08_test.txt
Shawn X. Zhan
Command Issued:
/bin/bash -c "cd kpl_test1/data/_testdata/PROD_DATA;gpg -e --no-tty --passphrase mypassword A08_test.txt;ls -al"
We got:
gpg: Sorry, no terminal at all requested - can't get input