Exemple : Je suis sur A où j'ai une clé privée pouvant se connecter sur B et C. Je me connecte sur B, depuis lequel je peux me connecter sur C (sans que B ai accès à ma clé privée).
Très utile pour faire du git sur une machine où nous ne serions pas le seul utilisateur.
Pour cela, il faut instancier ssh-agent, charger sa clé, et ajouter la directive ForwardingAgent dans notre client SSH.
    $ echo 'Host *\n ForwardAgent yes' >> ~/.ssh/config
    $ echo 'eval `eval `ssh-agent` >> /dev/null && ssh-add' >> ~/.bashrcPour vérifier les clés chargées (sur A ou B) :
    $ ssh-add -L The SSH (“Secure Shell”) protocol is a method for secure remote login from one system to another. Sysadmins and users use a secure channel over an unsecured network in a client-server architecture format for connecting an SSH client with an SSH server. Security ssh server is an important task. There is a tool called ssh_scan from Mozilla which act as a prototype SSH configuration and policy scanner for your SSHD.
apt-get install ruby gem
gem install ssh_scan
ssh_scan -t <server-a-scan>Description simplifiée du tunneling SSH.
Parallel SSH or PSSH tool comes in handy, is a python based application, which allows you to execute commands on multiple hosts in parallel at the same time.
 
 
   
                   
                   
                   
                   
                  