4343 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 73 / 218
Newer►
  • Using rsync from cron with ssh keys that have a passphrase | Me in IT

    It took me some time to figure this one out, as everybody is using rsync and ssh-keys without passphrases, but I insist that an ssh-key should have a passphrase.

    In my first attemts I got this error messages mailed to me by crontab:
    Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive).

    Here are the steps to automate a backup initiated from crontab using rsync, SSH and ssh-keys with a passphrase:

    Make a set of SSH keys.
    Setup SSH to use the agent automatically.
    Login once as the user who's cron will run the backup script. You will be asked for a passphrase. When the machine reboots, you will need to login once more, to enter the passphrase again.
    Make a backup script that includes some SSH variables.
    This script could be as simple as this:
    . /home/username/.ssh/variables
    rsync -avz --delete /data/ example.com:data
    
    N.B. This variables file only contains these lines:
    SSH_AUTH_SOCK=/tmp/ssh-DmFcb18036/agent.18036; export SSH_AUTH_SOCK;
    SSH_AGENT_PID=18037; export SSH_AGENT_PID;
    echo Agent pid 18037;
    Put that script in crontab.

    That should do it for you, as it works like a charm for me!

    November 12, 2015 at 5:24:01 PM GMT+1 - permalink - archive.org - https://meinit.nl/using-rsync-from-cron-with-ssh-keys-that-have-a-passphrase
    ssh
  • Enter your ssh-passphrase once, use it many times, even from crontab | Me in IT

    variables=~/.ssh/variables

    sshadd() {
    source "$variables" > /dev/null
    ssh-add -l > /dev/null 2>&1
    case "$?" in
    1)
    ssh-add > /dev/null 2>&1
    ;;
    2)
    rm "$variables"
    sshagent
    ;;
    esac
    }

    sshagent() {
    if [ -f "$variables" ] ; then
    sshadd
    else
    ssh-agent -s > $variables
    sshadd
    fi
    }

    sshagent

    November 12, 2015 at 5:23:46 PM GMT+1 - permalink - archive.org - https://meinit.nl/enter-your-ssh-passphrase-once-use-it-many-times-even-from-crontab
    ssh
  • Mopidy
    November 10, 2015 at 11:16:53 AM GMT+1 - permalink - archive.org - https://www.mopidy.com/
    music rasp spotify
  • thumbnail
    RedisLabs/redis-migrate

    useful script to migrate redis server without downtime

    • http://boomboomboom.biz/blog/2013/09/07/migrate-redis-to-a-new-server-without-downtime/
    November 9, 2015 at 2:55:05 PM GMT+1 - permalink - archive.org - https://github.com/RedisLabs/redis-migrate
    migrate python redis
  • MINIGAMES | FantaBobWorld
    November 7, 2015 at 1:07:13 PM GMT+1 - permalink - archive.org - https://www.fantabobworld.com/index.php/category/mini-jeux/
    minecraft
  • Uptime Funk - SUSECon 2015 (Uptown Funk Parody) - YouTube

    :D :D :D

    November 6, 2015 at 4:02:04 PM GMT+1 - permalink - archive.org - https://www.youtube.com/watch?v=zbABy9ul11I
    fun lol sys sysadmin
  • Are You Sure This Works? Test Your Modules for PE and Puppet Using Beaker, Docker and More | Puppet Labs
    November 6, 2015 at 11:17:14 AM GMT+1 - permalink - archive.org - https://puppetlabs.com/presentations/are-you-sure-works-test-your-modules-pe-and-puppet-using-beaker-docker-and-more
    puppet rspec test
  • PuppetConf 2015 Videos and Presentations | Puppet Labs
    November 6, 2015 at 11:17:02 AM GMT+1 - permalink - archive.org - https://puppetlabs.com/puppetconf-2015-videos-and-presentations
    conf puppet
  • A Quick Benchmark: Gzip vs. Bzip2 vs. LZMA

    bzip2 en mode parallel : apt-get install pbzip2

    November 4, 2015 at 10:14:48 AM GMT+1 - permalink - archive.org - http://tukaani.org/lzma/benchmarks.html
    compression gzip pbzip2 zip
  • GoAccess - Screenshots
    November 3, 2015 at 2:41:44 PM GMT+1 - permalink - archive.org - http://goaccess.io/screenshots
    apache audit log logs nginx web
  • configz/roles/xymon at master · theonlydoo/configz

    Pour installer xymon rapidement
    via doo

    November 2, 2015 at 3:28:24 PM GMT+1 - permalink - archive.org - https://github.com/theonlydoo/configz/tree/master/roles/xymon
    ansible monitoring xymon
  • exebetche/vlsub

    extension pour dl les sub à partir de vlc :o

    à tester

    November 2, 2015 at 11:23:33 AM GMT+1 - permalink - archive.org - https://github.com/exebetche/vlsub/
    sub subtitle vls
  • We are all Devops // Speaker Deck

    via Doo

    November 2, 2015 at 11:20:30 AM GMT+1 - permalink - archive.org - https://speakerdeck.com/kdaniels/we-are-all-devops
    devops
  • thumbnail
    SiCKRAGETV/SickRage

    screen : http://www.zupmage.eu/i/KxtSLAvOGb.png

    November 2, 2015 at 10:56:09 AM GMT+1 - permalink - archive.org - https://github.com/SiCKRAGETV/SickRage
    seedbox torrent
  • http://ericrie.se/blog/git-freebase/
    November 1, 2015 at 8:57:07 AM GMT+1 - permalink - archive.org - http://http://ericrie.se/blog/git-freebase/
    git
  • StartupMaster :: Modules pour Firefox

    Pour qu'enfin firefox arrête de me demander 1000 fois mon master password quand je le lance

    October 31, 2015 at 10:12:06 AM GMT+1 - permalink - archive.org - https://addons.mozilla.org/fr/firefox/addon/startupmaster/
    firefox master password startup
  • thumbnail
    BenoitZugmeyer/addic7ed-cli

    Try do DL sub for new video files in /torrent/folder/

    cd /torrent/folder/ && for file in $(comm -13 <(find .|grep -E "(srt)$"|sort) <(find .|grep -E "(avi|mkv|mp4)$"|sed -r 's/.[^.]+$/.srt/'|sort)); do addic7ed $file; done

    October 30, 2015 at 4:44:38 PM GMT+1 - permalink - archive.org - https://github.com/BenoitZugmeyer/addic7ed-cli
    addic7ed oneline sub torrent
  • UnattendedUpgrades - Debian Wiki

    checkrestart : https://packages.debian.org/fr/wheezy/debian-goodies
    needrestart : https://packages.debian.org/fr/sid/needrestart

    October 28, 2015 at 2:44:44 PM GMT+1 - permalink - archive.org - https://wiki.debian.org/UnattendedUpgrades
    debian upgrade
  • La Gestion de Produit Agile en deux mots - YouTube
    October 27, 2015 at 5:16:42 PM GMT+1 - permalink - archive.org - https://www.youtube.com/watch?v=3qMpB-UH9kA
    agile scrum
  • scripts/sync_to_s3.sh at master · gdelpierre/scripts

    via VG

    October 27, 2015 at 5:13:57 PM GMT+1 - permalink - archive.org - https://github.com/gdelpierre/scripts/blob/master/sync_to_s3.sh
    amazon script
Links per page: 20 50 100
◄Older
page 73 / 218
Newer►
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation