[racket] looking for a simple ssh library.

From: Michael Wilber (mwilber at uccs.edu)
Date: Thu Feb 28 10:26:48 EST 2013

I know it's a hack but for my needs, I just spawn a synchronous ssh
process, like this:

(define (get-remote-file file)
  (define success? #t)
  (define remote-bytes
    (with-output-to-bytes
     (λ() (set! success?
                (system (format "ssh machinename cat ~a" file))))))
  (and success? remote-bytes))


jo <etaoinbe at yahoo.com> writes:
> Hi
>
>
> I am looking for a simple ssh library a la net::snmp. The remote node does not have racket installed. I want to send and receive commands to the device.
>
> Thanks
> J.
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users


Posted on the users mailing list.