GithubHelp home page GithubHelp logo

nicholasbhubbard / yabsm Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 0.0 3.31 MB

(deprecated) a btrfs snapshot manager and backup system

License: GNU General Public License v3.0

Perl 100.00%
btrfs snapshot-backup snapshots

yabsm's People

Contributors

nicholasbhubbard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

yabsm's Issues

cant connect to server over ssh

This is just a small word on something you may be confused by. All of this is explained in the manual, but I don't think it hurts to reiterate.

You may see this error either in logs (/var/log/yabsm) or when running yabsm interactively:

yabsm: ssh error: $SSH_BACKUP_NAME: cannot establish SSH connection: unable to establish master SSH connection: master process exited unexpectedly

This means that the "yabsm" user on your system cannot connect to your ssh_backup's SSH server using key-based authentication.

Remember, yabsm works by creating a locked user on your host system named "yabsm". This user is given a key pair that should be used to log onto servers with SSH. This public key can be seen by running the following command (as root):

# yabsm c ssh-key

Now, from the server you are ssh'ing into (all the details of which are determined by a ssh_backup you defined in your config), append this public key to the server users $HOME/.ssh/authorized_keys file.

Now, to make sure everything is setup correctly, from your yabsm host run this command (as root):

# yabsm c ssh-check $SSH_BACKUP_NAME

If everything is setup then this will just print "all good". Otherwise it will display a (hopefully useful) error message about what is wrong.

As a last resort, sign in as the yabsm user and try to ssh into the ssh_backups ssh_dest.

# su yabsm
$ ssh -o PreferredAuthentications=publickey -o PasswordAuthentication=no [email protected]

Bottom line is if you can sign into the ssh_dest as the "yabsm" user using passwordless key-based authentication, then yabsm should just work.

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.