#! /bin/bash ssh-add -l | grep -q 'no idente' | ssh-add $(ls ~/.ssh/*.pub | sed 's/\.pub.*//g' | tr '\n' ' ')