Re: SSH inside Objective C
Re: SSH inside Objective C
- Subject: Re: SSH inside Objective C
- From: Dalton Hamilton <email@hidden>
- Date: Wed, 9 May 2007 15:22:42 -0400
Quinn,
I've downloaded the libssh and it compiled with no problems. There's
also some sample ssh and sftp client side code already written and it
works great.
Thanks
Dalton Hamilton
if(1)osx
On May 8, 2007, at 4:54 PM, Quinn wrote:
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:
email@hidden
This email sent to email@hidden
_______________________________________________
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