| Commit message (Expand) | Author | Age | Files | Lines |
| ... | |
| * | examples/sssh.scm (print-help, print-version): Improve.•••* examples/sssh.scm (print-help): Rename to `print-help-and-exit'.
Call `exit'. All callers updated.
(print-version): Rename to `print-version-and-exit'. Call `exit'.
All callers updated.
(main): Update.
| Artyom Poptsov | 2014-02-22 | 1 | -28/+23 |
| * | examples/ssshd.scm (main): Add `--ssh-debug' option.•••* examples/ssshd.scm (main): Add `--ssh-debug' option.
(print-help-and-exit): Likewise.
* NEWS: Update.
| Artyom Poptsov | 2014-02-22 | 1 | -2/+5 |
| * | examples/README: Update.•••* examples/README: Update.
* examples/README.org: Add the symlink to `examples/README.org' to
help the GitHub recognize the org-mode markup.
| Artyom Poptsov | 2014-02-07 | 2 | -6/+19 |
| * | examples/ssshd.scm: Add `--detach' option.•••* examples/ssshd.scm (close-ports): New procedure.
(main): Add `--detach' option.
| Artyom Poptsov | 2014-02-03 | 1 | -10/+35 |
| * | examples/ssshd.scm: Parse command-line options.•••* examples/ssshd.scm (main): Add command-line options: `--rsakey',
`--dsakey', `--help'.
(print-help-and-exit): New procedure.
* NEWS: Update.
| Artyom Poptsov | 2014-02-02 | 1 | -9/+37 |
| * | examples/ssshd.scm (format-debug): Remove. | Artyom Poptsov | 2014-02-01 | 1 | -5/+0 |
| * | examples/ssshd.scm (poll): Remove. | Artyom Poptsov | 2014-02-01 | 1 | -7/+0 |
| * | src/server-func.c (set_option): Use symbols for `log-verbosity'.•••* src/server-func.c (set_option) [SSH_BIND_OPTIONS_LOG_VERBOSITY]:
Use symbols to represent log levels instead of numbers. All
callers updated.
(set_sym_opt): New procedure.
* src/session-func.c: Move `log_verbosity' to `common.c' file.
* src/common.c, src/common.h: Update.
* examples/echo/server.scm (*default-log-verbosity*): Set to 'nolog.
* examples/ssshd.scm (*default-log-verbosity*): Likewise.
* NEWS: Update.
| Artyom Poptsov | 2014-01-28 | 2 | -2/+2 |
| * | session-func.c (set_option): Use symbols for `log-verbosity'.•••* src/session-func.c (set_option)[SSH_OPTIONS_LOG_VERBOSITY]: Use
symbols to represent log levels instead of numbers. All callers
updated.
(set_sym_opt): New procedure.
* examples/echo/client.scm (main): Set log verbosity to `nolog'.
* examples/sssh.scm (main): Update.
* NEWS: Update.
| Artyom Poptsov | 2014-01-28 | 2 | -2/+4 |
| * | Merge branch 'channel-to-ptob'•••Conflicts:
ChangeLog
NEWS
| Artyom Poptsov | 2014-01-27 | 6 | -29/+424 |
| |\ |
|
| | * | examples/echo/client.scm (main): Print MD5 sum.•••* examples/echo/client.scm (main): Print MD5 sum if the server is
not known.
| Artyom Poptsov | 2014-01-27 | 1 | -1/+3 |
| | * | examples/echo/client.scm: Improve. | Artyom Poptsov | 2014-01-22 | 1 | -23/+24 |
| | * | examples/echo/server.scm (main): Add `--port' option. Improve.•••* examples/echo/server.scm (print-help): Update.
(main): Add `--port' option. Print RSA/DSA key pathes and current
bind port on the start.
| Artyom Poptsov | 2014-01-22 | 1 | -5/+10 |
| | * | examples/echo/{server,client}.scm (read-all): Fix a bug.•••* examples/echo/server.scm (read-all): Fix a bug: return the first
read line if there is no more data to read.
* examples/echo/client.scm (read-all): Likewise.
| Artyom Poptsov | 2014-01-20 | 2 | -4/+4 |
| | * | examples/echo/server.scm: Handle command-line options.•••* examples/echo/server.scm (print-help): New procedure.
(main): Handle command-line options.
| Artyom Poptsov | 2014-01-20 | 1 | -57/+86 |
| | * | examples/ssshd.scm, examples/sssh.scm: Update.•••* examples/ssshd.scm (handle-channel): Use `read-all' instead of
`channel-read'. Update.
(handle-request-exec): Use `display' instead of `channel-write'.
(shell-loop): Use `read-all' instead of `channel-read' and
`channel-poll'. Use `display' instead of `channel-write'.
(main): Close a channel before disconnecting the session.
* examples/sssh.scm (read-all): New procedure.
(main): Use `read-all' instead of `read-line'. Use `char-ready?'
instead of `channel-poll'.
| Artyom Poptsov | 2014-01-11 | 2 | -14/+23 |
| | * | examples/echo/{client,server}.scm: Update comments.•••* examples/echo/client.scm: Update comments.
* examples/echo/server.scm: Likewise.
| Artyom Poptsov | 2014-01-07 | 2 | -2/+48 |
| | * | examples/echo/{client,server}.scm: Update.•••* examples/echo/server.scm (read-all): New procedure.
(main): Update. Catch exceptions. Use `write-line' instead of
`display'.
* examples/echo/client.scm (read-all): New procedure.
(main): Update. Use `char-ready?' instead of `channel-poll'. Use
`write-line' instead of `display'.
| Artyom Poptsov | 2014-01-07 | 2 | -16/+33 |
| | * | src/channel-type.c (ptob_input_waiting): Implement the procedure.•••* src/channel-type.c (ptob_input_waiting): Call `ssh_channel_poll'.
(init_channel_type): Register callback with
`scm_set_port_input_waiting' procedure.
* examples/echo/server.scm (main): Use `char-ready?' predicate
instead of the custom procedure `channel-poll'.
| Artyom Poptsov | 2014-01-04 | 1 | -4/+4 |
| | * | src/channel-type.c (ptob_close): New procedure.•••* src/channel-type.c (ptob_close): New procedure.
(print_channel): Don't try to get state of a channel if its port
is closed because it leads to segfaults. Closed port means closed
channel.
(init_channel_type): Register `ptob_close' with
`scm_set_port_close'.
* examples/echo/client.scm (main): Call `close' on a channel.
* examples/echo/server.scm (main): Likewise.
| Artyom Poptsov | 2014-01-04 | 2 | -5/+6 |
| | * | Use Guile port API to implement Guile-SSH channels.•••* src/channel-func.c (guile_ssh_channel_read)
(guile_ssh_channel_write): Remove.
* src/channel-func.h (guile_ssh_channel_read): Remove.
* src/channel-type.c (ptob_fill_input, ptob_write, ptob_flush)
(ptob_input_waiting, _ssh_channel_to_scm): New procedures.
(guile_ssh_make_channel): Use `_ssh_channel_to_scm'.
(_scm_to_ssh_channel): Use `SCM_STREAM' macro.
(init_channel_type): Register Guile port callbacks.
* src/channel-type.h (_ssh_channel_to_scm): Export.
* src/channel.scm (channel-read, channel-write): Remove.
* src/message-func.c
(guile_ssh_message_channel_request_open_reply_accept): Use
`_ssh_channel_to_scm'.
* examples/echo: Add to the repository.
* examples/Makefile.am: Add echo server/client example.
* examples/README: Update.
* examples/sssh.scm: Update.
* README: Update.
| Artyom Poptsov | 2014-01-02 | 5 | -18/+304 |
| * | | examples/sssh.scm: Use `userauth-autopubkey!'.•••* examples/sssh.scm (main): Use `userauth-autopubkey!' for
authentication.
| Artyom Poptsov | 2014-01-18 | 1 | -24/+6 |
| * | | src/key-func.c: Add basic support of encrypted keys.•••* examples/sssh.scm (main): Ask the user for a passphrase.
* src/key-func.c (guile_ssh_private_key_from_file): Change
argument list: add optional argument `passphrase'.
| Artyom Poptsov | 2014-01-12 | 1 | -4/+17 |
| |/ |
|
| * | ssshd.scm (main): Print useful information on the start.•••* examples/ssshd.scm (main): Print path to a key and the port number
on the start.
| Artyom Poptsov | 2013-11-25 | 1 | -0/+6 |
| * | examples/ssshd.scm: Handle `channel-request-env'.•••* examples/ssshd.scm (handle-req-channel): Handle
`channel-request-env'.
(main): Improve handling of `request-channel'.
| Artyom Poptsov | 2013-11-25 | 1 | -2/+14 |
| * | examples/sssh.scm (*option-spec*): Add missed `ssh-debug' switch. | Artyom Poptsov | 2013-11-23 | 1 | -1/+2 |
| * | examples/Makefile.am: Add missed `ssshd.scm' to distribution.•••* examples/Makefile.am (dist_examples_DATA): Add missed
`ssshd.scm'.
(AM_CFLAGS): Remove.
| Artyom Poptsov | 2013-11-23 | 1 | -3/+1 |
| * | examples/sssh.scm: Improve debug mode. Print SSH cnannels.•••* examples/sssh.scm (main): Separate libssh debug and the program
debug mode. Print SSH channels.
| Artyom Poptsov | 2013-11-18 | 1 | -17/+14 |
| * | src/channel-type.c: Set the printer procedure for the smob.•••* src/channel-type.c (print_channel): New procedure.
(init_channel_type): Set the printer procedure for the smob.
* NEWS: Update.
| Artyom Poptsov | 2013-11-18 | 1 | -0/+9 |
| * | src/message.scm (message-reply-success): New procedure.•••* src/message.scm (message-reply-success): New procedure.
* examples/ssshd.scm (handle-req-auth, handle-req-channel, main):
Use `message-reply-success'.
| Artyom Poptsov | 2013-11-03 | 1 | -7/+7 |
| * | examples/ssshd.scm (handle-req-auth): Handle public key state. | Artyom Poptsov | 2013-11-03 | 1 | -4/+15 |
| * | src/message.scm (auth-req:pubkey-state): New procedure.•••* src/message.scm (auth-req:pubkey-state): New procedure.
* src/message-func.c (get_auth_req): Store public key state in the
vector.
| Artyom Poptsov | 2013-11-02 | 1 | -2/+5 |
| * | examples/ssshd.scm: Add to the repository.•••* examples/ssshd.scm: Add to the repository.
* examples/README: Update.
| Artyom Poptsov | 2013-11-02 | 2 | -2/+264 |
| * | examples/: Add to the repository.•••* Makefile.am (SUBDIRS): Add examples/
* configure.ac: Add examples/Makefile
* examples/: Add to the repository.
| Artyom Poptsov | 2013-10-28 | 3 | -0/+248 |