Comments (2)
Good idea!
I hadn't really thought about it, but I took at look at it and wasn't too complex.
I added support for a --basic-user
and --basic-pass
to the login method.
duc login https://duplicati.host.local --basic-user=rune --basic-pass=password
It's a layer on top of the regular authentication, so you can have both:
duc login https://duplicati.host.local --basic-user=rune --basic-pass=password --password=password
or interactively
duc login https://duplicati.host.local --basic-user=rune
Basic auth:
Password:
Login successful
It supports parameter files as usual and of course only prompts for the 2nd password if Duplicati asks.
There is one thing worth mentioning, though. When using basic auth it requires a base64 encoded string 'username:password'
. This is stored in the config file, and of course sent over the network to the server.
It's a good deal less secure than the regular login method because it's easier to figure out the password. If your apache host provides SSL then it's more secure, but anyone with access to your config file can easily figure out the password.
from duplicati-client.
I added it to a the new release, 0.3.8, feel free to give it a try.
duplicati_client/releases/tag/0.3.8_beta
from duplicati-client.
Related Issues (20)
- Old data return when using latest Duplicati Beta 2.0.4.5 HOT 5
- Issue with latest version of duplicati beta HOT 4
- 0.4.9 gnu_linux doesn't work on Synology HOT 10
- Unable to connect using https HOT 13
- Can't get duc to run from a Duplicati job's batch script HOT 10
- Question: How to get the status of the backup (success/failed)? HOT 2
- Problem when importing a json file with unicode characters HOT 3
- Add option to parse output to json HOT 7
- Add to Pypi HOT 1
- UTF-8 Error in Docker Container based on Alpine Linux HOT 3
- Binary for Windows HOT 2
- Run by Name HOT 1
- "duc run" and "duc get" show different command patterns HOT 2
- Can we get a real timestamp for last and next backup? HOT 1
- Add details about build scripts HOT 1
- Possible error: getting the middle of logs, not last ones HOT 3
- Ability to login without pass on local machine
- Error with the certificate while trying to login into the server HOT 2
- Problem with login via Cloudflare tunel
- Set password question HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duplicati-client.