Open graywolf opened 7 months ago
Hello,
I found out that trying to print the public key of the server leads to a segfault:
$ guile -c '(use-modules (ssh session)) (define s (make-session #:host "terminal.shop")) (connect! s) (pk (get-server-public-key s))' ;;; ((segmentation fault
The workaround seems to be to also require (ssh key):
$ guile -c '(use-modules (ssh key) (ssh session)) (define s (make-session #:host "terminal.shop")) (connect! s) (pk (get-server-public-key s))' ;;; (#<key ed25519 (public) 7fd07cd60fc0>)
That does not seem to be documented, and, if the import is required, I believe it should happen automatically. The segfault is not great user experience.
Hello,
I found out that trying to print the public key of the server leads to a segfault:
The workaround seems to be to also require (ssh key):
That does not seem to be documented, and, if the import is required, I believe it should happen automatically. The segfault is not great user experience.