summaryrefslogtreecommitdiff
path: root/examples/echo/client.scm.in (follow)
Commit message (Collapse)AuthorAgeFilesLines
* examples/echo/client.scm.in (get-prvkey, main): Simplify checksArtyom V. Poptsov2015-02-221-8/+5
|
* examples/echo/client.scm.in (print-help): RenameArtyom V. Poptsov2015-02-221-16/+8
| | | | | | * examples/echo/client.scm.in (print-help): Rename to `print-help-and-exit'. (main): Use it. Remove extra checks.
* key-func.c (guile_ssh_private_key_from_file): Remove `session' parameterArtyom Poptsov2014-06-061-1/+1
| | | | | | | | | | | * 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: Rename some proceduresArtyom Poptsov2014-06-011-1/+1
| | | | | | | | | | | | | | | | | | * 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 bugArtyom Poptsov2014-06-011-2/+2
| | | | | * 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 fingerprintsArtyom Poptsov2014-05-311-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Merge branch 'master' into libssh06Artyom Poptsov2014-05-311-2/+3
|\ | | | | | | | | Conflicts: ChangeLog
| * ssh/session.scm (bytevector->hex-string): New procedure.Artyom Poptsov2014-05-311-2/+3
| | | | | | | | | | | | * 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): Remove public key.Artyom Poptsov2014-05-301-11/+2
|/ | | | | | * examples/echo/client.scm.in (main): Public key is not needed anymore, remove it. (get-pubkey): Remove.
* ssh/auth.c: Remove username form parameter list of functions.Artyom Poptsov2014-03-221-1/+1
| | | | | | | | | | | | | | | * 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/: Use actual path to Guile interpreter in the shebang.Artyom Poptsov2014-03-011-0/+170
* 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.