diff mbox

Add sshpass

Message ID 87lh0nnf5w.fsf@saiph.selenimh
State New
Headers show

Commit Message

Nicolas Goaziou July 27, 2016, 5:50 p.m. UTC
Hello,

Here is a patch adding sshpass.


Regards,
diff mbox

Patch

From 4175eaf2f440738ca29755f61de31383f3b4c506 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date: Wed, 27 Jul 2016 19:45:02 +0200
Subject: [PATCH] gnu: Add sshpass.

* gnu/packages/ssh.scm (sshpass): New variable.
---
 gnu/packages/ssh.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 61a6a5b..c9ca87f 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -492,3 +492,23 @@  providing shell access to the server system from the client.  It provides
 both the server daemon and the client application, as well as tools for
 manipulating key files.")
     (license license:gpl2+)))
+
+(define-public sshpass
+  (package
+    (name "sshpass")
+    (version "1.06")
+    (synopsis "Non-interactive password authentication with SSH")
+    (home-page "https://sourceforge.net/projects/sshpass/")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://sourceforge/sshpass/sshpass/"
+                           version "/sshpass-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0q7fblaczb7kwbsz0gdy9267z0sllzgmf0c7z5c9mf88wv74ycn6"))))
+    (build-system gnu-build-system)
+    (description "sshpass is a tool for non-interactivly performing
+password authentication with SSH's so called ``interactive keyboard
+password authentication''.")
+    (license license:gpl2+)))
-- 
2.8.4