fr:tools:sshpass
Différences
Ci-dessous, les différences entre deux révisions de la page.
fr:tools:sshpass [2021/07/12 08:29] – Créé depuis le formulaire fr:tools:pv_create_software 178.199.44.77 | fr:tools:sshpass [2021/07/12 15:39] (Version actuelle) – Bruno Manzoni | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Sshpass ====== | ||
+ | |||
+ | |||
+ | <WRAP alert> | ||
+ | // | ||
+ | Sshpass permet de contourner la sécurité mise en place dans les outils SSH qui supportent | ||
+ | * une authentification interactive ou il faut entrer le mot de passe | ||
+ | * une authentification par certificat où il n'y a pas besoin de mettre un mot de passe | ||
+ | A utiliser en connaissance de cause et préférez l' | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Installation sur OS X ===== | ||
+ | |||
+ | |||
+ | ==== Avec Homebrew ==== | ||
+ | |||
+ | <WRAP important 100%> | ||
+ | // | ||
+ | </ | ||
+ | |||
+ | <WRAP prewrap> | ||
+ | < | ||
+ | brew install https:// | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Contenu fichier sshpass.rb au 11.10.2015 | ||
+ | <WRAP prewrap> | ||
+ | < | ||
+ | require ' | ||
+ | |||
+ | class Sshpass < Formula | ||
+ | url ' | ||
+ | homepage ' | ||
+ | sha256 ' | ||
+ | |||
+ | def install | ||
+ | system " | ||
+ | " | ||
+ | system "make install" | ||
+ | end | ||
+ | |||
+ | def test | ||
+ | system " | ||
+ | end | ||
+ | end | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== Command ===== | ||
+ | |||
+ | Example avec ssh: | ||
+ | |||
+ | <WRAP prewrap> | ||
+ | < | ||
+ | sshpass -p myPassword ssh -o StrictHostKeyChecking=no username@server.example.com | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Example avec rsync: | ||
+ | |||
+ | <WRAP prewrap> | ||
+ | < | ||
+ | rsync --rsh=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Infobox ===== | ||
+ | ---- dataentry Software ---- | ||
+ | name : Sshpass | ||
+ | page_page | ||
+ | main class_frclasstags | ||
+ | network class_frsoftcatnettags | ||
+ | new network class_frtooltags | ||
+ | multimedia class_frsoftcatmultags | ||
+ | new multimedia class_frtooltags | ||
+ | security class_frsoftcatsectags | ||
+ | new security class_frtooltags | ||
+ | system class_frsoftcatsystags | ||
+ | new system class_frtooltags | ||
+ | developement class_frsoftcatdevtags : | ||
+ | new developement class_frtooltags | ||
+ | genre_frtooltags | ||
+ | description | ||
+ | logo_img | ||
+ | screenshot_img | ||
+ | discontinued_frtooltag | ||
+ | status_frdevstatustag | ||
+ | programming language_frtooltags | ||
+ | operating system_frostags | ||
+ | platforms_frplateformtags | ||
+ | website_urls | ||
+ | license_frtooltag | ||
+ | ---- | ||
+ | |||
+ | |||
+ | |||