Re: SSH question
Re: SSH question
- Subject: Re: SSH question
- From: Laurent Cerveau <email@hidden>
- Date: Mon, 18 Mar 2013 13:38:20 +0100
Hi Quinn
Thanks for the answers
I have an application displaying a list of server to which the user may or not have an access via SSH. If this is the case I would like to be able to have a contextual menu that simply says "Open a SSH connection" in Terminal through Applescript. A nice part would be to do it only if the user effectively can properly access it.
The sandbox part you mention is effectively something of a concern as I plan to have the app properly sandboxed
Regards
laurent
On Mar 18, 2013, at 1:23 PM, "Quinn \"The Eskimo!\"" <email@hidden> wrote:
>
> On 17 Mar 2013, at 23:00, Laurent Cerveau <email@hidden> wrote:
>
>> What is the recommended way to read the list of machine in a ~/.ssh/known_hosts file from a C/Obj-C program?
>
> While you can just read this, there are some notably concerns:
>
> o binary compatibility -- UNIX programs tend to be a bit less concerned about binary compatibility than Mac developers are used to, although for this project (OpenSSH) and this file (a very commonly used thing) I'd not worry too much about this.
>
> o sandbox -- The sandbox will prevent you from reading this file. You can use a temporary entitlement to get around that, but that would make getting through Mac App Review somewhat trickier.
>
> Why are you trying to read this file?
>
> Share and Enjoy
> --
> 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
_______________________________________________
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