-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ssh/session.scm (make-session): Fix "#:config" handling
This patch fixes "make-session" procedure to make it handle "#:config" option according to the Guile-SSH documentation. That is, passing "#f" as the "#:config" value disables reading the default SSH documentation. Reported by graywolf in <#38> * modules/ssh/session.scm (make-session): Fix "#:config" handling: disable default configuration reading when set to "#f" as per Guile-SSH documentation. Use "#t" as the default value to keep the backward compatibility. * libguile-ssh/session-func.c (session_options): Add SSH_OPTIONS_PROCESS_CONFIG. (set_option): Handle SSH_OPTIONS_PROCESS_CONFIG. * doc/api-sessions.texi: Update. * NEWS: Update.
- Loading branch information
1 parent
1c01f8f
commit 88c9a89
Showing
4 changed files
with
32 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,15 @@ This change affects the following procedures from =(ssh popen)=: | |
|
||
Reported by graywolf in | ||
<https://github.com/artyom-poptsov/guile-ssh/issues/39> | ||
** =make-session= now handles =#:config= set to =#f= properly | ||
Now =make-session= disables reading the default SSH configuration files when | ||
=#:config= is set to =#f= (as per Guile-SSH documentation.) | ||
|
||
When =#:config= is set to =#t= then the default SSH configuration files are | ||
read. This is by default to keep the backward compatibility. | ||
|
||
Reported by graywolf in | ||
<https://github.com/artyom-poptsov/guile-ssh/issues/38> | ||
** New simplified version of the project logo | ||
Thanks to Darya Sev. <[email protected]> for very helpful design advices for the | ||
new simplified version of the project logo. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -244,6 +244,13 @@ be ``yes'', ``no'' or a specific algorithm name if needed ("zlib", | |
@verb{|"[email protected]"|}, "none"). | ||
|
||
Expected type of @var{value}: string. | ||
@item process-config? | ||
Set it to @code{#f} to disable automatic processing of per-user and | ||
system-wide OpenSSH configuration files. LibSSH automatically uses these | ||
configuration files unless you provide it with this option or with different | ||
file. | ||
|
||
Expected type of @var{value}: boolean. | ||
@item proxycommand | ||
Set the command to be executed in order to connect to server. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters