[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36404] [PATCH 1/5] ssh: Add 'identity' keyword to 'open-ssh-session
From: |
Christopher Lemmer Webber |
Subject: |
[bug#36404] [PATCH 1/5] ssh: Add 'identity' keyword to 'open-ssh-session'. |
Date: |
Sat, 29 Jun 2019 10:42:40 -0400 |
User-agent: |
mu4e 1.2.0; emacs 26.2 |
Jakob L. Kreuze writes:
> * guix/ssh.scm (open-ssh-session): Add 'identity' keyword argument.
> ---
> guix/ssh.scm | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/guix/ssh.scm b/guix/ssh.scm
> index 9b9baf54ea..a2387564a4 100644
> --- a/guix/ssh.scm
> +++ b/guix/ssh.scm
> @@ -57,12 +57,13 @@
> (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."
Looks good, but could you add to the docstring here explaining the new
identity keyword?
> (let ((session (make-session #:user user
> + #:identity identity
> #:host host
> #:port port
> #:timeout 10 ;seconds
- [bug#36404] [PATCH 0/5] Add 'guix deploy'., (continued)
- [bug#36404] [PATCH 0/5] Add 'guix deploy'., Jakob L. Kreuze, 2019/06/28
- [bug#36404] [PATCH 1/5] ssh: Add 'identity' keyword to 'open-ssh-session'., Jakob L. Kreuze, 2019/06/28
- [bug#36404] [PATCH 2/5] gnu: Add machine type for deployment specifications., Jakob L. Kreuze, 2019/06/28
- [bug#36404] [PATCH 3/5] Add 'guix deploy'., Jakob L. Kreuze, 2019/06/28
- [bug#36404] [PATCH 4/5] Export the (gnu machine) interface., Jakob L. Kreuze, 2019/06/28
- [bug#36404] [PATCH 5/5] doc: Add section for 'guix deploy'., Jakob L. Kreuze, 2019/06/28
- [bug#36404] [PATCH 2/5] gnu: Add machine type for deployment specifications., Christopher Lemmer Webber, 2019/06/29
- [bug#36404] [PATCH 2/5] gnu: Add machine type for deployment specifications., Jakob L. Kreuze, 2019/06/29
- [bug#36404] [PATCH 2/5] gnu: Add machine type for deployment specifications., Carlo Zancanaro, 2019/06/30
- [bug#36404] [PATCH 2/5] gnu: Add machine type for deployment specifications., Christopher Lemmer Webber, 2019/06/30
- [bug#36404] [PATCH 1/5] ssh: Add 'identity' keyword to 'open-ssh-session'.,
Christopher Lemmer Webber <=
- [bug#36404] [PATCH 1/5] ssh: Add 'identity' keyword to 'open-ssh-session'., Jakob L. Kreuze, 2019/06/29
[bug#36404] [PATCH 0/6] Add 'guix deploy'., Christopher Lemmer Webber, 2019/06/29