Accessing SSH from a C program

Vlad GALU vladgalu at gmail.com
Fri Feb 24 10:33:39 PST 2006


On 2/24/06, Martin Möller <freebsd at martinmoeller.net> wrote:
> Hi all,
>
> I try to copy some files securely from one machine to another. What is
> the fastest and easiest way to accomplish this task? Can I access SSH
> routines in C (is there a library) or is it better just to call "scp"
> externally?


    http://0xbadc0de.be/wiki/doku.php?id=libssh:libssh
    Or, if you prefer scripting, try this:
http://net-ssh.rubyforge.org/. It's also in ports
(security/rubygem-net-ssh).


> Greetings,
> m.
>
> --
> Martin Möller <freebsd at martinmoeller.net>
> IM: 82221572 (ICQ) - martian at amessage.de (Jabber)
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>


--
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.


More information about the freebsd-hackers mailing list