summaryrefslogtreecommitdiff
path: root/examples/sssh.scm.in (follow)
Commit message (Expand)AuthorAgeFilesLines
* examples/sssh.scm.in: Update copyright datesArtyom V. Poptsov2015-10-291-1/+1
* examples/sssh.scm.in (handle-error): Simplify a bit•••* examples/sssh.scm.in (handle-error): Simplify a bit, update the docstring. Artyom V. Poptsov2015-10-291-3/+2
* examples/sssh.scm.in: Fix repository URLArtyom V. Poptsov2015-10-291-1/+1
* examples/sssh{,d}.scm.in: Handle exit status•••* examples/ssshd.scm.in (handle-request-exec): Send exit status. * examples/sssh.scm.in (main): Handle exit status. * NEWS: Update. Artyom V. Poptsov2015-02-121-8/+15
* tests/sssh-ssshd.scm: Use test `known_hosts' file•••* 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. Artyom Poptsov2014-07-191-0/+5
* ssh/auth.c: Rename some procedures•••* 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. Artyom Poptsov2014-06-011-1/+1
* Use new libssh 0.6 API for handling of public key fingerprints•••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. Artyom Poptsov2014-05-311-1/+2
* Merge branch 'master' into libssh06•••Conflicts: ChangeLog Artyom Poptsov2014-05-311-1/+2
|\
| * ssh/session.scm (bytevector->hex-string): New procedure.•••* ssh/session.scm (bytevector->hex-string): New procedure. * examples/echo/client.scm.in (main): Use it. * examples/sssh.scm.in (main): Use it. Artyom Poptsov2014-05-311-1/+2
* | Perform basic work on porting of Guile-SSH on libssh 0.6.3•••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. Artyom Poptsov2014-05-271-1/+1
|/
* examples/{sssh,ssshd}.scm.in: Improve error handling.•••* examples/sssh.scm.in (read-all): Improve error handling: Catch `guile-ssh-error'. * examples/ssshd.scm.in (read-all): Likewise. * NEWS: Update. Artyom Poptsov2014-03-071-3/+10
* examples/: Use actual path to Guile interpreter in the shebang.•••* 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. Artyom Poptsov2014-03-011-0/+209