1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Will be writing a bash script soon... need input

Discussion in 'General Scripting Chat' started by datawinds, Jan 26, 2017.

  1. datawinds

    datawinds Newbie

    Joined:
    Jan 26, 2017
    Messages:
    12
    Likes Received:
    2
    Gender:
    Male
    Occupation:
    Freelance Technical Consultant
    Location:
    Texas
    Home Page:
    I will be writing a bash script soon to package home directories and a SQL dump into a zipfile... that's not what I need help with... I need help with encrypting the package at the server level... any ideas?
     
  2. davids355

    davids355 Jr. VIP Jr. VIP

    Joined:
    Apr 25, 2011
    Messages:
    10,193
    Likes Received:
    7,844
    Home Page:
  3. whiteroot

    whiteroot Junior Member

    Joined:
    Oct 22, 2015
    Messages:
    102
    Likes Received:
    32
    Gender:
    Male
    Occupation:
    Software engineer, freelancer
    Location:
    France
    that's what I do with my VPS too
    I encrypt the file using GPG
    create a key ring
    encrypt with public key
    only the private key can decrypt it