Re: ssh-tunnel, remote controlling (and stuff)
Re: ssh-tunnel, remote controlling (and stuff)
- Subject: Re: ssh-tunnel, remote controlling (and stuff)
- From: arri <email@hidden>
- Date: Tue, 6 Mar 2007 23:29:56 +0100
thanks phil,
it's a bit overkill for to implement a fullblown ssh-client,
only for creating a tunnel, so i was thinking of just using NSTask
with OSX's built-in ssh client.
creating the tunnel the tunnel using NSTask works pretty straight
forward,
but right now i'm struggling with the authentication process.
for testing purposes i was using ssh-keys, but in the final
implementation
the software will be running on arbitrary machines, installed by random
people on random locations. those machine will break, and need to be
replaced
at some point etc... so ssh-keys are no option.
i can do an interactive ssh-login with NSTask, but where do i store
the password?
is there a way to safely include this (encrypted?) in the binary?
does anyone have experience with / a solution for a scenario like this?
thanks,
arri
On Feb 26, 2007, at 07:14 21, Philip Q wrote:
On 26/02/07, arri <email@hidden> wrote:
i have some experience with creating ssh-tunnels on linux and osx,
but i was wondering if anyone could point me in the right direction
for implementing this inside a cocoa-app.
There's nothing built-in, a quick Google search for 'ssh library'
revealed a few C and C++ libraries that let you programmatically
access ssh functionality.
-Phil
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden