[{"data":1,"prerenderedAt":188},["ShallowReactive",2],{"seo-verification":3,"blog-self-host-password-pusher-vps-secrets-ma-en":6,"promo-bar-likely":187},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"key":7,"data":8},"blog-self-host-password-pusher-vps-secrets-ma-en",{"id":9,"slug":10,"slugs":11,"title":15,"excerpt":16,"readTime":17,"views":18,"isPinned":19,"noindex":19,"publishedAt":20,"updatedAt":21,"category":22,"categories":28,"featuredImage":30,"bgImage":31,"posterImage":32,"relatedSolution":33,"intro":36,"keyPoints":37,"sections":38,"ctaTitle":120,"ctaBody":121,"ctaButton":122,"ctaUrl":123,"relatedPosts":124},592,"self-host-password-pusher-vps-secrets",{"fr":12,"en":10,"ar":13,"es":14},"self-host-password-pusher-vps","استضافة-password-pusher-على-vps","autoalojar-password-pusher-vps","Password Pusher on a VPS: Share Passwords Without Email","Install Password Pusher on a VPS with Docker Compose: expiring links, encrypted secrets, HTTPS behind nginx, and link creation restricted to your team.",8,0,false,"2026-11-23T00:00:00+00:00","2026-11-23T23:59:55+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},7,"Self-hosting","self-hosting","bg-indigo-500\u002F10 text-indigo-400","cloud",[29],{"id":23,"name":24,"slug":25,"color":26,"icon":27},"\u002Fblog\u002Fcovers\u002Fself-host-password-pusher-vps-cover.webp","\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fself-host-password-pusher-vps-poster.svg",{"categorySlug":34,"appSlug":35},"cybersecurity-bastion","password-pusher","A password sent by email never goes away: it stays in the sender's mailbox, in the recipient's mailbox, in backups and in forwarded copies. Password Pusher replaces that message with a link that stops working after a few views or a few days. This guide installs it on your VPS with Docker Compose, publishes it over HTTPS behind nginx, restricts link creation to your team and shows how to create links from a script.",[],[39,43,53,79,82,101,105,108,111,114,117],{"type":40,"title":41,"body":42},"h2","What Password Pusher does","Password Pusher is an open-source web application released under the **Apache-2.0** license. The idea fits in one sentence: instead of writing a secret in a message, you store it in the application and send a **link**. That link carries two limits, a **number of views** and a **number of days**. As soon as either one is reached, the content is deleted and the link shows nothing but an expiry notice.\n\nThe recipient installs nothing and creates no account: they open the link, confirm that they want to see the secret, and copy it. On your side, a **log** shows when the link was viewed. If nobody has opened it, you can expire it yourself.\n\nThe application shares passwords and text, but also web addresses and QR codes. It provides a password generator and an **API** to create links from your own tools. Hosted on your server, it keeps your secrets with you, encrypted with a key that only you hold.",{"type":44,"title":45,"items":46},"ul","What you gain",[47,48,49,50,51,52],"**Secrets that no longer linger** — once the deadline has passed, the message found in a mailbox contains only an expired link.","**Proof of access** — each link's log tells you whether it was opened, and when.","**No account for the recipient** — a client or a contractor opens the link from any browser.","**Your data stays with you** — secrets are encrypted in the database on your VPS, not at a third-party service.","**A closed instance** — only your team's accounts create links.","**An API** — your scripts create links without going through the interface.",{"type":54,"title":55,"headers":56,"rows":59},"comparison","Password in an email vs. a Password Pusher link",[5,57,58],"Password in an email","Password Pusher link",[60,64,68,72,75],[61,62,63],"Lifetime of the secret","Open-ended, in two mailboxes","A few views or a few days",[65,66,67],"Backups and forwards","The secret is copied into them","Only the link appears in them",[69,70,71],"Knowing whether it was read","Impossible","Access log",[73,70,74],"Revoking after sending","Manual expiry of the link",[76,77,78],"Storage","In plain text at the email provider","Encrypted on your server",{"type":40,"title":80,"body":81},"Prepare the server","Plan for an Ubuntu 24.04 VPS with **1 GB of RAM**: the application uses about 300 MB at rest, database included. It fits in a single container and keeps its data in a **SQLite** database, with no database server to administer.\n\nYou also need a **hostname** that points to the server, for example `push.example.com`. This is not a detail: every generated link carries that address, and your recipients open it from outside. A secret must only ever travel over **HTTPS**.\n\nInstall Docker and nginx before you start:\n```bash\napt update && apt install -y docker.io docker-compose-v2 nginx certbot python3-certbot-nginx\n```",{"type":83,"title":84,"steps":85},"steps","Install Password Pusher with Docker Compose",[86,89,92,95,98],{"title":87,"body":88},"Prepare the directory and the keys","The `.env` file holds two secrets: the key that signs sessions and the key that encrypts your secrets in the database. Without the second one, the application uses a default key that everyone knows. Keep a copy of this file: without the encryption key, active links become unreadable.\n```bash\nmkdir -p \u002Fopt\u002Fpassword-pusher && cd \u002Fopt\u002Fpassword-pusher\ncat > .env \u003C\u003CEOF\nDOMAIN=push.example.com\nSECRET_KEY_BASE=$(openssl rand -hex 32)\nENCRYPTION_KEY_HEX64=$(openssl rand -hex 32)\nEOF\nchmod 600 .env\n```",{"title":90,"body":91},"Write the docker-compose.yml file","A single service, the official image. `PWP__OVERRIDE_BASE_URL` sets the address written into the links. The last two variables close the instance: no link creation without an account, no open sign-up. The port is published on the loopback interface only: nginx alone will be exposed to the Internet.\n```yaml\nservices:\n  pwpush:\n    image: pglombardo\u002Fpwpush:2.17.4\n    restart: unless-stopped\n    environment:\n      SECRET_KEY_BASE: ${SECRET_KEY_BASE:?SECRET_KEY_BASE manquant}\n      PWPUSH_MASTER_KEY: ${ENCRYPTION_KEY_HEX64:?ENCRYPTION_KEY_HEX64 manquant}\n      PWP__HOST_DOMAIN: ${DOMAIN:?DOMAIN manquant}\n      PWP__HOST_PROTOCOL: https\n      PWP__OVERRIDE_BASE_URL: https:\u002F\u002F${DOMAIN:?DOMAIN manquant}\n      PWP__ALLOW_ANONYMOUS: \"false\"\n      PWP__DISABLE_SIGNUPS: \"true\"\n    volumes:\n      - pwpush-storage:\u002Fopt\u002FPasswordPusher\u002Fstorage\n    ports:\n      - \"127.0.0.1:5100:5100\"\n    healthcheck:\n      test: [\"CMD\", \"curl\", \"-fsS\", \"http:\u002F\u002Flocalhost:5100\u002Fup\"]\n      interval: 10s\n      timeout: 5s\n      retries: 12\n      start_period: 40s\nvolumes:\n  pwpush-storage:\n```",{"title":93,"body":94},"Start and verify","`--wait` returns once the health check passes. The `\u002Fup` page must answer 200.\n```bash\ndocker compose up -d --wait\ncurl -s -o \u002Fdev\u002Fnull -w '%{http_code}\\n' http:\u002F\u002F127.0.0.1:5100\u002Fup\n```",{"title":96,"body":97},"Publish behind nginx","The `X-Forwarded-Proto` header tells the application that the visitor arrived over HTTPS.\n```nginx\nserver {\n    server_name push.example.com;\n    location \u002F {\n        proxy_pass http:\u002F\u002F127.0.0.1:5100;\n        proxy_set_header Host $host;\n        proxy_set_header X-Real-IP $remote_addr;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n        proxy_set_header X-Forwarded-Proto $scheme;\n    }\n}\n```",{"title":99,"body":100},"Enable HTTPS","A secret must never travel in plain text. The home page redirects to the first-run setup screen as long as no account exists.\n```bash\ncertbot --nginx -d push.example.com\ncurl -s -o \u002Fdev\u002Fnull -w '%{http_code} %{redirect_url}\\n' https:\u002F\u002Fpush.example.com\u002F\n```",{"type":102,"title":103,"body":104},"tip","Don't leave the instance open to everyone","By default, Password Pusher accepts **anonymous** pushes and **open sign-ups**. On a public address, anyone can then use your server to store content on it and spread links under your domain name. The two variables `PWP__ALLOW_ANONYMOUS` and `PWP__DISABLE_SIGNUPS` in the file above close both doors. Your recipients, meanwhile, still open their links without an account.",{"type":40,"title":106,"body":107},"Create the administrator account","On first access, the application shows a **first-run setup** screen. It asks for an email address, a password and a **boot code**: this code proves that you control the server, and prevents a visitor from creating the administrator account before you do.\n\nFirst open `https:\u002F\u002Fpush.example.com\u002F` in your browser, then read the code on the server:\n```bash\ncd \u002Fopt\u002Fpassword-pusher\ndocker compose exec pwpush cat storage\u002Ffirst_run_boot_code.txt\n```\n\nEnter it in the form. The account you create is an administrator, the code is destroyed immediately, and the first-run setup screen no longer appears. The admin dashboard, at `\u002Fadmin`, lists the accounts and lets you promote or demote an administrator.",{"type":40,"title":109,"body":110},"Send a secret and track its access","Paste the secret into the form, then set the two limits. For a password handed to a client, **one or two views** and **one day** are enough: if they open the link too late, you create another one.\n\nLeave the **confirmation step** enabled: the recipient has to click to display the secret. Without it, the link preview that some messaging apps generate opens the page in their place and uses up a view.\n\nTwo habits round out the tool:\n\n- send the **link** and the **username** through two different channels, so that the link alone is not enough to sign in;\n- ask the recipient to **change the password** at first sign-in when the service allows it.\n\nEach link's log shows when it was viewed. A link that is still active can be expired by hand from your dashboard.",{"type":40,"title":112,"body":113},"Create links from a script","Every account has an **API token**, which you generate from the account menu. Store it in the secrets of your CI or your tool, never in a repository. The following call creates a link valid for one view and one day, and returns its address:\n```bash\ncurl -s https:\u002F\u002Fpush.example.com\u002Fapi\u002Fv2\u002Fpushes \\\n  -H \"Authorization: Bearer $PWPUSH_TOKEN\" \\\n  -H 'Content-Type: application\u002Fjson' \\\n  -d '{\"push\":{\"payload\":\"mot-de-passe-provisoire\",\"expire_after_views\":1,\"expire_after_days\":1}}' \\\n  | jq -r .html_url\n```\n\nAn account-creation script can thus generate a password, push it, then write the link into the requester's ticket: the password appears in plain text neither in the ticket nor in the script's logs. Without a token, the same request answers 401.",{"type":40,"title":115,"body":116},"Add colleagues, back up, update","Sign-ups are closed. To add a colleague, set `PWP__DISABLE_SIGNUPS` to `\"false\"`, run `docker compose up -d` again, let them create their account, then close sign-ups again. The `PWP__SIGNUP_EMAIL_REGEXP` variable restricts the accepted addresses, for example to your domain. Each account can enable **two-factor authentication** in its settings.\n\nThe application's entire state lives in the `pwpush-storage` volume: the SQLite database and the uploaded files. Back up this volume **and** the `.env` file: the database cannot be read without the encryption key.\n```bash\ndocker run --rm -v password-pusher_pwpush-storage:\u002Fdata -v \u002Froot\u002Fbackups:\u002Fbackup alpine \\\n  tar czf \u002Fbackup\u002Fpwpush-$(date +%F).tar.gz -C \u002Fdata .\n```\n\nTo update, change the image tag in `docker-compose.yml`, then run `docker compose pull && docker compose up -d`: database migrations run at startup.",{"type":40,"title":118,"body":119},"Install Password Pusher in one click from the ServOrbit Marketplace","The ServOrbit Marketplace installs this same configuration on your VPS: official image, encryption key generated, anonymous creation disabled, sign-ups closed, nginx proxy and HTTPS certificate. The application installs on a subdomain of one of your domains or on the VPS's free subdomain: you don't need to buy a domain name.\n\nThe **boot code** is shown in your client area: all that's left is to open the address, create your administrator account and send your first link.","Your secrets, shared from your own VPS","A ServOrbit Ubuntu 24.04 VPS with 1 GB of RAM is enough. One-click installation from the Marketplace, encryption key generated, link creation restricted to your team, HTTPS included.","Install Password Pusher","\u002Fapplications\u002Fcybersecurity-bastion\u002Fpassword-pusher",[125,149,169],{"id":126,"slug":127,"slugs":128,"title":132,"excerpt":133,"readTime":134,"views":135,"isPinned":19,"noindex":19,"publishedAt":136,"updatedAt":137,"category":138,"categories":143,"featuredImage":145,"bgImage":31,"posterImage":146,"relatedSolution":147},131,"self-host-your-password-manager-deploy-vaultwarden-on-vps",{"fr":129,"en":127,"ar":130,"es":131},"deploy-vaultwarden-vps","استضف-مدير-كلمات-المرور-بنفسك-انشر-vaultwarden-على-vps","desplegar-vaultwarden-en-un-vps","Deploy Vaultwarden on a VPS: self-hosted password manager","Self-host Vaultwarden on a VPS: password management, Bitwarden compatibility, team vaults and TOTP, at a fixed monthly cost and under 50 MB of RAM.",15,3,"2026-06-24T00:00:00+00:00","2026-11-20T14:17:07+00:00",{"id":17,"name":139,"slug":140,"color":141,"icon":142},"Security & Monitoring","securite-monitoring","bg-rose-500\u002F10 text-rose-400","security",[144],{"id":17,"name":139,"slug":140,"color":141,"icon":142},"\u002Fblog\u002Fcovers\u002Fdeploy-vaultwarden-vps-cover.webp","\u002Fblog\u002Fcovers\u002Fdeploy-vaultwarden-vps-poster.svg",{"categorySlug":142,"appSlug":148},"vaultwarden",{"id":150,"slug":151,"slugs":152,"title":156,"excerpt":157,"readTime":158,"views":159,"isPinned":19,"noindex":19,"publishedAt":160,"updatedAt":161,"category":162,"categories":163,"featuredImage":165,"bgImage":31,"posterImage":166,"relatedSolution":167},160,"how-to-self-host-infisical-on-a-vps",{"fr":153,"en":151,"ar":154,"es":155},"self-host-infisical-vps","كيفية-استضافة-infisical-ذاتيا-على-خادم-vps","como-autoalojar-infisical-en-un-vps","How to Self-Host Infisical on a VPS","Deploy Infisical on your VPS in under 20 min: RBAC, automatic rotation, GitHub Actions and GitLab CI integration, plus Redis and TLS troubleshooting.",9,1,"2026-07-02T00:00:00+00:00","2026-10-16T01:57:38+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},[164],{"id":23,"name":24,"slug":25,"color":26,"icon":27},"\u002Fblog\u002Fcovers\u002Fself-host-infisical-vps-cover.webp","\u002Fblog\u002Fcovers\u002Fself-host-infisical-vps-poster.svg",{"categorySlug":34,"appSlug":168},"infisical",{"id":170,"slug":171,"slugs":172,"title":176,"excerpt":177,"readTime":23,"views":178,"isPinned":19,"noindex":19,"publishedAt":179,"updatedAt":180,"category":181,"categories":182,"featuredImage":184,"bgImage":31,"posterImage":185,"relatedSolution":186},369,"docker-secrets-production-protecting-credentials-on-vps",{"fr":173,"en":171,"ar":174,"es":175},"docker-secrets-securite-vps-production","اسرار-docker-في-الانتاج-حماية-بيانات-الاعتماد-على-vps","docker-secrets-produccion-proteger-credenciales-vps","Docker Secrets in production: protecting secrets on a VPS","Manage Docker secrets in production without exposing them in docker-compose.yml. Docker Secrets without Swarm, .env.vault and SOPS: method and comparison.",2,"2026-09-20T00:00:00+00:00","2026-09-20T21:13:51+00:00",{"id":17,"name":139,"slug":140,"color":141,"icon":142},[183],{"id":17,"name":139,"slug":140,"color":141,"icon":142},"\u002Fblog\u002Fcovers\u002Fdocker-secrets-securite-vps-production-cover.webp","\u002Fblog\u002Fcovers\u002Fdocker-secrets-securite-vps-production-poster.svg",null,true,1795479064987]