Hi !
I want to add ninjafirewall pro to my install.
I applied the security hints (ssh with key & passphrase, change port)
I need to drop files on a newly created directory : /var/www/ninjafirewall
Well, I didn’t find the proper ssh command and filezilla fails as well…
Here what I tried from my local Manjaro terminal :
Same issue as in your other thread, admin user does not have root access. Transfer the directory in /home/admin first, then move it and chown it via SSH.
Download backup via terminal where is the data located
how can i proceed here and find all the data to be able to download it. Can someone help me here, because I want to put everything on a new server. Unfortunately, it’s not possible via the desktop panel for admins. So I would be grateful for your help and support. Thank you very much
@carrabelloy o_O You made 3 posts in 3 topics with the same question in 5 minutes. You should not do this, because you spent the time of contributors by doing this.
Personally, i stopped to answer you since several months and the day when i decide to review my opinion, i discover that mess! Don’t be surprised if you get less and less answers.
I’ll tell or write you something now. I contribute. But don’t know if you’re French or not. But which languages are used here? French or English. Where is German here? So that you can understand a lot better in the forum. I don’t see that. Maybe complain before you get too excited about a tweet. It would be better for all of us. Because not everyone can speak English. And my home is Germany and the German language. And it’s hard enough to deal with. Thank you and stay healthy and moan about other things than that.
you can also try scp -r /local/directory admin@192.168.1.22:/var/www/ninjafirewall
of course replace “/local/directory” with your source directory and the “192.168.1.22” with the IP address of your server
I think you can work around it by adding your user’s key to root’s authorized_keys, but for the few times that you might need it, I would copy to a temporary location via SSH as admin, and then move (as root) to the right location.
Did you set up key access for your admin on Yunohost? From your desktop / laptop / telephone, connect to your Yunohost with
$ ssh-copy-id admin@your.yunohost
In case you do not have a public key file for your local user yet, create one first (on your local computer) :
$ ssh-keygen
It will pose some questions; you can just press enter for the defaults (a passphrase would give added security, but is often skipped).
After your key is added to admin’s authorized_key’s, you can login and copy securely and without providing a password with SHH and scp.
It should be easy now to transfer the files from your desktop to admin’s /home/admin-directory. After that, log in via SSH as admin, and sudo mv the files to the destination.
So you copied the file from pc to /home/admin in the server then moved it to the location you wanted in the server.
What about running the scp command from the server? Does it work?