apt update / install inside an app
-
i want to install sshpass to test some stuff on my private network.
I'm pretty sure you will answer "use ssh-key instead off" but i really want to install sshpass.
So, there is nothing i can do ? Is that possible to edit the docker file to add the packet on the app ? -
@Adhok You can not install anything extra inside of a Cloudron app.
You also can not ssh into a Cloudron app.What do you want to do, maybe describe what your goal is and we might be able to help you out.
To not write unnecessary stuff what level of IT expertise would you rate yourself at?
Do you know about Docker and containerization? -
Thank you for this answer
I want to run a post-download script inside the qbitorrent app to automatically upload a downloaded file on my home's synology.
To do this task, i want to run a rsync command which include the sshpass to login on the SYNO with a clear-text password.
I'm aware about the security risk but i'm ok because on synology side i just allow the cloudron's VPS IP to access on the NAS. (And because making a couple of ssh key on synology is a fu**ing obstacle course)Before all of this, i also try something into n8n to automate the process but i'm not able to correctly configure the SFTP box after the Local File Trigger box.
My IT level is 10 years as system and network administrator. I'm a beginner about docker/kubernetees but i know the base.
-
@Adhok didn't realize creating a ssh key on synology is hard.
So, an idea is to mount your synology as a Cloudron Volume (https://docs.cloudron.io/volumes/) . Then, mount the volume into the qbittorrent app. After that, it's a simple matter of copying the file.
-
@girish said in apt update / install inside an app:
@Adhok didn't realize creating a ssh key on synology is hard.
As i said 9 hours ago :
@Adhok said in apt update / install inside an app:
(And because making a couple of ssh key on synology is a fu**ing obstacle course)
So yes, i realize creating a ssh key on syno is hard.
(Maybe it was second degree ? My bad if.
(It's not really hard to create, but too advanced for the thing i want to do.
(and because i don't want to open the home service for users of the syno => it's a security hole)))Whatever, i will try to mount my syno as a cloudron volume, for the moment i don't know how to do but RTFM you know..
You can keep this topic open, i will come back faster if i success the task or not. -
@girish said in apt update / install inside an app:
Usually creating a ssh key is really just a matter of 10 seconds. Just run ssh-keygen and that's it ? After that you just copy over the public key into the user's .ssh/authorized_keys file...
On a random Linux, yes.
It's a little bit different on Syno (which is a linux too but anyway). -
-
-