Re: SSH inside Objective C
Re: SSH inside Objective C
- Subject: Re: SSH inside Objective C
- From: Quinn <email@hidden>
- Date: Tue, 8 May 2007 21:54:44 +0100
At 11:40 -0600 8/5/07, Dave Camp wrote:
For a pure Obj-C implementation, I would think you should be able to
launch ssh via an NSTask and attach a couple of NSPipes to it for
stdin and stdout. That said, Cocoa isn't that great at text parsing
(in my opinion), so if I were doing it I'd stick with normal posix
code for launching and manipulating the pipes (e.g. popen()).
Or if you want a real API, use libssh.
<http://0xbadc0de.be/wiki/libssh:libssh>
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden