[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36404] [PATCH v5 1/4] ssh: Add 'identity' keyword to 'open-ssh-sess
From: |
Jakob L. Kreuze |
Subject: |
[bug#36404] [PATCH v5 1/4] ssh: Add 'identity' keyword to 'open-ssh-session'. |
Date: |
Fri, 05 Jul 2019 14:54:32 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
* guix/ssh.scm (open-ssh-session): Add 'identity' keyword argument.
---
guix/ssh.scm | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/guix/ssh.scm b/guix/ssh.scm
index 9b9baf54e..ede00133c 100644
--- a/guix/ssh.scm
+++ b/guix/ssh.scm
@@ -57,12 +57,14 @@
(define %compression
"address@hidden,zlib")
-(define* (open-ssh-session host #:key user port
+(define* (open-ssh-session host #:key user port identity
(compression %compression))
- "Open an SSH session for HOST and return it. When USER and PORT are #f, use
-default values or whatever '~/.ssh/config' specifies; otherwise use them.
-Throw an error on failure."
+ "Open an SSH session for HOST and return it. IDENTITY specifies the file
+name of a private key to use for authenticating with the host. When USER,
+PORT, or IDENTITY are #f, use default values or whatever '~/.ssh/config'
+specifies; otherwise use them. Throw an error on failure."
(let ((session (make-session #:user user
+ #:identity identity
#:host host
#:port port
#:timeout 10 ;seconds
--
2.22.0
signature.asc
Description: PGP signature
- [bug#36404] [PATCH v4 4/4] doc: Add section for 'guix deploy'., (continued)
- [bug#36404] [PATCH v4 4/4] doc: Add section for 'guix deploy'., Thompson, David, 2019/07/04
- [bug#36404] [PATCH v4 4/4] doc: Add section for 'guix deploy'., Ludovic Courtès, 2019/07/05
- [bug#36404] [PATCH v4 3/4] Add 'guix deploy'., Thompson, David, 2019/07/04
- [bug#36404] [PATCH v4 3/4] Add 'guix deploy'., Ludovic Courtès, 2019/07/05
- [bug#36404] [PATCH v4 2/4] gnu: Add machine type for deployment specifications., Ludovic Courtès, 2019/07/04
- [bug#36404] [PATCH v4 2/4] gnu: Add machine type for deployment specifications., Jakob L. Kreuze, 2019/07/04
- [bug#36404] [PATCH v4 2/4] gnu: Add machine type for deployment specifications., Thompson, David, 2019/07/04
- [bug#36404] [PATCH v4 2/4] gnu: Add machine type for deployment specifications., Ludovic Courtès, 2019/07/05
- [bug#36404] [PATCH v4 2/4] gnu: Add machine type for deployment specifications., Ludovic Courtès, 2019/07/05
- [bug#36404] [PATCH v5 0/4] Add 'guix deploy'., Jakob L. Kreuze, 2019/07/05
- [bug#36404] [PATCH v5 1/4] ssh: Add 'identity' keyword to 'open-ssh-session'.,
Jakob L. Kreuze <=
- [bug#36404] [PATCH v5 2/4] gnu: Add machine type for deployment specifications., Jakob L. Kreuze, 2019/07/05
- [bug#36404] [PATCH v5 3/4] Add 'guix deploy'., Jakob L. Kreuze, 2019/07/05
- [bug#36404] [PATCH v5 4/4] doc: Add section for 'guix deploy'., Jakob L. Kreuze, 2019/07/05
- bug#36404: [PATCH v5 4/4] doc: Add section for 'guix deploy'., Christopher Lemmer Webber, 2019/07/05
- [bug#36404] [PATCH v5 4/4] doc: Add section for 'guix deploy'., Jakob L. Kreuze, 2019/07/05
- [bug#36404] [PATCH v5 4/4] doc: Add section for 'guix deploy'., Ludovic Courtès, 2019/07/06
- [bug#36404] [PATCH v4 1/4] ssh: Add 'identity' keyword to 'open-ssh-session'., Thompson, David, 2019/07/04