Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SSH inside Objective C



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:
http://lists.apple.com/mailman/options/macnetworkprog/ 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:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >SSH inside Objective C (From: Dalton Hamilton <email@hidden>)
 >Re: SSH inside Objective C (From: Dave Camp <email@hidden>)
 >Re: SSH inside Objective C (From: Quinn <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.