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: Connecting to SSH server



On Jul 31, 2005, at 6:29 AM, Rakka wrote:

Hi,

What would be the best way to connect to an SSH server through cocoa? (I was thinking NSTask, but thought there must be a more elegant way).

What do you want to do with the SSH server?

If you are looking to do a variety of sftp manipulations or something, it's probably going to be easiest to use the command line tools provided with the system. If you want to do something specific at the protocol level, then you might look at using NSStream, or use CFNetwork directly if you need to support older versions of Mac OS X.

Daniel

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Connecting to SSH server (From: Rakka <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.