Autostart encrypted array using Raspberry Pi over SSH


Recommended Posts

I've been experimenting with using a Raspberry Pi on my local network to AutoStart an encrypted array.

 

This method is working fine, but I'd like to know if I'm missing anything from a security perspective.

 

I have a Raspberry Pi 4, running Raspberry Pi OS with SSH enabled.

 

I'm using the following command in my Go file:

 

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &
curl --insecure -u user:password sftp://192.168.1.99/keyfile -o /root/keyfile

 

Please let me know your thoughts. Thanks!

Edited by ssean
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.