Giter Club home page Giter Club logo

unlock-luks-dropbear's Introduction

Unlock a full disk encrypted ubuntu system via SSH

You can encrypt your system and it is even possible to do this for a server and then enter the encryption key during boot via ssh. Tutorials how to this this can be found e.g. here:

https://www.thomas-krenn.com/de/wiki/Voll-verschl%C3%BCsseltes-System_via_SSH_freischalten

I don't like to edit files in /usr/share and actually you don't have to. Leave out the corresponding step, but instead copy the crypt_unlock.sh provided here to /etc/initramfs-tools/hooks/ and run update-initramfs -u afterwards. This way is also safer for updates to the initramfs-related packages.

When logging in during boot to dropbear. Instead of running the passfifo command, run unlock, enter the password and the server will continue to boot.

This is based on the scripts published at

If you ever get stuck using this or a similar script: Log in, look at ps and run the kill commands by hand. From ubuntu 12.04 to 14.04 there were some subtle changes.

unlock-luks-dropbear's People

Contributors

robinro avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.