| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The building process would always fail on fresh source tree because
'configure' tried to make a symlink or a copy of files that were not
present yet. This patch fixes the building process.
Reported by Ludovic Courtès, on #guix IRC channel.
* configure.ac: Don't make symlinks to 'sssh.scm' and 'ssshd.scm'.
* examples/Makefile.am: Consider 'sssh.scm' and 'ssshd.scm' as generated
scripts to ensure that they are present in the build directory so
'sssh-ssshd.scm' test suite will not fail.
* NEWS: Update.
|
| |
|
|
|
|
|
|
|
|
|
| |
This fixes builds where $(builddir) != $(srcdir).
* examples/Makefile.am (.in): Use $(MKDIR_P) to make the target's parent
directories.
* tests/common.scm (%topbuilddir): New variable.
* tests/sssh-ssshd.scm (*ssshd-cmd*, *sssh-cmd*): Use it instead of %TOPDIR.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
| | |
|
| |
|
|
|
|
| |
* examples/uptop.scm.in: Add to the repository.
* examples/Makefile.am (EXTRA_DIST, dist_examples_DATA): Update.
* examples/README, examples/.gitignore: Update.
|
| | |
|
| |
|
|
| |
* examples/README: Fix description of 'rpc.scm' and 'ssshd.scm'.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
* examples/pg-tunnel.scm: Rename to 'pg-tunnel.scm.in', use substitution to
set the path to Guile.
* examples/Makefile.am (EXTRA_DIST): Add 'pg-tunnel.scm.in'.
(dist_examples_DATA): Add 'pg-tunnel.scm'.
* README: Update.
|
| | |
|
| |\ |
|
| | | |
|
| | |
| |
| |
| | |
* examples/sssh.scm.in (handle-error): Simplify a bit, update the docstring.
|
| | | |
|
| | |
| |
| |
| | |
* examples/sscp.scm.in (cp): Replace 'sftp-open-file' with 'sftp-open'.
|
| |/
|
|
|
| |
* examples/sscp.scm.in: Add to the repository.
* examples/Makefile.am: Update.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
* examples/rpc/client.scm.in, examples/rpc/server.scm.in: Add to the
repository.
* doc/api-channels.texi: Mention a path to the full RPC client example in the
description of 'call-with-ssh-forward'.
* examples/Makefile.am: Add 'rpc/client.scm.in', rpc/server.scm.in.
* examples/.gitignore: Ignore 'rpc/client.scm', 'rpc/server.scm'.
* examples/README: Update.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
* examples/rrepl.scm.in: Update description.
(print-help-and-exit): Update.
|
| |
|
|
|
|
|
| |
* examples/rrepl.scm.in: Add to the repository.
* examples/Makefile.am (EXTRA_DIST): Add 'rrepl.scm.in'.
(dist_examples_DATA, CLEANFILES): Add 'rrepl.scm'.
* examples/README: Update.
|
| | |
|
| |
|
|
|
|
| |
* examples/echo/server.scm.in (print-help): Rename to
`print-help-and-exit'.
(main): Use it.
|
| | |
|
| |
|
|
|
|
| |
* examples/echo/client.scm.in (print-help): Rename to
`print-help-and-exit'.
(main): Use it. Remove extra checks.
|
| |
|
|
|
|
| |
* examples/ssshd.scm.in (handle-request-exec): Send exit status.
* examples/sssh.scm.in (main): Handle exit status.
* NEWS: Update.
|
| |
|
|
|
|
|
|
|
|
|
| |
* examples/sssh.scm.in (*option-spec*): Add `known-hosts-file' option.
(main): Handle it.
* tests/sssh-ssshd.scm: Fix a bug in the test suite: use test
`known_hosts' file to make sure that it has no records.
("ssshd, start"): Add a delay to make sure that
ssshd started.
("sssh, exec"): Improve. Do cleanup at the end of the TC.
(*sssh-cmd*): Set `knownhosts' file explicitly.
|
| |
|
|
|
|
|
|
|
|
|
| |
* ssh/key-func.c (guile_ssh_private_key_from_file): Remove `session'
parameter. All callers updated.
* doc/api-keys.texi (Keys): Update description of
`private-key-from-file'.
* examples/echo/client.scm.in (get-prvkey): Update.
* tests/key.scm ("private-key-from-file"): Update.
* tests/client-server.scm ("userauth-public-key!, success"): Update.
* NEWS: Update.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ssh/auth.c (guile_ssh_userauth_pubkey): Rename to
`guile_ssh_userauth_public_key_x'. All callers updated.
(guile_ssh_userauth_pubkey_auto_x): Rename to
`guile_ssh_userauth_public_key_auto_x'. All callers updated.
(guile_ssh_userauth_password): Rename to
`guile_ssh_userauth_password_x'. All callers updated.
(guile_ssh_userauth_public_key_try): New procedure.
* ssh/auth.h, ssh/auth.scm: Update.
* examples/echo/client.scm.in (main): Update.
* examples/sssh.scm.in (main): Update.
* tests/client-server.scm ("userauth-pubkey!, success"): Rename to
"userauth-public-key!, success". Update.
* doc/api-auth.texi (Auth): Update. Add description of
`userauth-public-key/try' and `userauth-agent!' procedures.
* NEWS: Update.
|
| |
|
|
|
| |
* examples/echo/client.scm.in (main): Fix a bug: Print fingerprint
as a MD5 hex string.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use new libssh 0.6 API for handling of public key fingerprints.
Update TCs and documentation.
* examples/sssh.scm.in (main): Update.
* examples/echo/client.scm.in (main): Update.
* ssh/session-func.c (guile_ssh_get_server_public_key): New
procedure.
(guile_ssh_get_public_key_hash): Change arguments. Move to
`ssh/key-func.c'. All callers updated.
* ssh/session.scm (bytevector->hex-string): Move to `ssh/key.scm'.
(get-server-public-key): New procedure.
* ssh/key-func.c (guile_ssh_get_public_key_hash): New procedure.
* ssh/key.scm (get-public-key-hash, bytevector->hex-string): New
procedures.
* tests/client-server.scm ("get-public-key-hash"): Check md5 and
sha1 fingerprints.
* doc/api-sessions.texi (Sessions): Add documentation for
`get-server-public-key'. Move `get-public-key-hash',
`bytevector->hex-string' to `doc/api-keys.texi'.
* doc/api-keys.texi (Keys): Update.
* NEWS: Update.
|
| |\
| |
| |
| |
| | |
Conflicts:
ChangeLog
|
| | |
| |
| |
| |
| |
| | |
* ssh/session.scm (bytevector->hex-string): New procedure.
* examples/echo/client.scm.in (main): Use it.
* examples/sssh.scm.in (main): Use it.
|
| | |
| |
| |
| |
| |
| | |
* examples/echo/client.scm.in (main): Public key is not needed
anymore, remove it.
(get-pubkey): Remove.
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Perform basic work on porting of Guile-SSH on libssh 0.6.3.
Currently it compiles with 0.6.3 and 4 of 5 tests pass. There is
some work that should be done.
* ssh/auth.c (guile_ssh_userauth_pubkey): Update. Change argument
list. All callers updated.
(guile_ssh_userauth_autopubkey_x): Update. Rename to
`guile_ssh_userauth_pubkey_auto_x'. Change argument list. All
callers updated.
(guile_ssh_userauth_agent_x): New procedure.
* ssh/auth.scm: Update.
* ssh/key-func.c (public_key_to_ssh_string): Remove.
(guile_ssh_public_key_to_string): Update.
(guile_ssh_private_key_from_file): Update.
(guile_ssh_public_key_from_private_key): Update.
(guile_ssh_public_key_from_file): Update. Change argument list.
* ssh/key-type.c (free_key_smob): Update.
(scm_from_ssh_key_type): Add ECDSA.
(guile_ssh_key_get_type): Update.
(_private_key_p, _public_key_p): Update.
* ssh/key-type.h: Update.
* ssh/message-func.c (get_auth_req): Update.
* ssh/Makefile.am (libguile_ssh_la_LDFLAGS): Add `-lssh'.
* tests/client-server.scm ("userauth-pubkey!, success"): Update.
* examples/sssh.scm.in (main): Update.
|
| |
|
|
|
| |
* examples/ssshd.scm.in (handle-req-auth): Fix handling of
password authentication.
|
| |
|
|
|
|
|
|
|
|
| |
* examples/ssshd.scm.in (main): Improve error handling on
`server-accept': Print exception key on exception, wait 1 second
before the second try to prevent flooding of the terminal with
errors.
* examples/echo/server.scm.in (main): Likewise.
* doc/api-servers.texi (Servers): Update description of
`server-accept'.
|
| |
|
|
|
|
| |
* examples/ssshd.scm.in: Add `--port' option.
(print-help-and-exit): Update.
(main): Update.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
* .gitignore: Move rules related to object files, libraries
etc. to `ssh/.gitignore'. Update.
* ssh/.gitignore: Update.
* build-aux/.gitignore: New file.
* doc/.gitignore: New file.
* examples/.gitignore: New file.
* m4/.gitignore: New file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ssh/auth.c (guile_ssh_userauth_pubkey): Don't take a username as
an parameter. All callers updated.
(guile_ssh_userauth_password): Likewise.
* examples/ssshd.scm.in (handle-req-auth): Update.
* examples/echo/client.scm.in (main): Update.
* tests/client-server.scm ("userauth-password!, success")
("userauth-password!, denied", "userauth-password!, partial")
("userauth-pubkey!, success"): Update TCs.
* doc/api-auth.texi (Auth): Update documentation for
`userauth-pubkey!' and `userauth-password!'. Add a general note
about setting of a username.
* doc/version.texi: Update.
|
| |
|
|
|
|
|
| |
* examples/sssh.scm.in (read-all): Improve error handling: Catch
`guile-ssh-error'.
* examples/ssshd.scm.in (read-all): Likewise.
* NEWS: Update.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* examples/ssshd.scm: Rename to `examples/ssshd.scm.in'.
* examples/sssh.scm: Rename to `examples/sssh.scm.in'.
* examples/echo/client.scm: Rename to
`examples/echo/client.scm.in'.
* examples/echo/server.scm: Rename to
`examples/echo/server.scm.in'.
* examples/Makefile.am: Substitute `@GUILE@' with the actual path
to Guile interpreter in *.in files.
* NEWS: Update.
|
| |
|
|
|
|
|
|
|
|
|
| |
* ssh/server-func.c (server-accept): Throw `guile-ssh-error' on
error.
* examples/ssshd.scm (main): Handle `guile-ssh-error' on
`server-accept'.
* examples/echo/server.scm (main): Likewise.
* doc/api-servers.texi (Servers): Update `server-accept'
documentation. Add an example.
* NEWS: Update.
|
| |
|
|
|
|
|
| |
* examples/ssshd.scm (main): Add `--pid-file' option. Store the
PID in a file instead of printing it to stdout.
(print-help-and-exit): Update.
* NEWS: Update.
|
| |
|
|
|
|
|
| |
* examples/sssh.scm (main): Make `ssh-debug' take the log
verbosity as an argument.
(print-help-and-exit): Update.
* NEWS: Update.
|