FTP automatic login with complex keyfile


Recommended Posts

Hi,

 

I encrypted my array using a password generated by my favorite password manager.

So everytime Unraid reboot, the array wait for the password before to start.

Perfect I'm very happy with this feature because if my server is stolen the rubber can't acess my data.

 

Now the dark side is the array can't start automatically so I have to be onsite to enter the password.

 

I wanted to add a bit of automation by using a keyfile accessible from an FTP server so I folow the great tuto of spaceinvader one 

 

My problem is my password generated by my password manager includes special characters : " / ' # @ ....  

My linux knowledge is limited and I don't know how to give special character in this password string :

 

wget ftpsimplicite [email protected] --password="mypassord@"/!'" ftp://myftp/ keyfile -O /root/keyfile

wget ftpsimplicite [email protected] --password="mypassord'@"/!" ftp://myftp/ keyfile -O /root/keyfile

 

Could you please help me ?

Thanks

 

 

 

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.