• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ssh-tunnel, remote controlling (and stuff)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: ssh-tunnel, remote controlling (and stuff)
      • From: Daryl Thachuk <email@hidden>
  • Prev by Date: Does lockFocus (NSImage) within another context cause to drop transform info?
  • Next by Date: Re: "You can create a window on a secondary thread."
  • Previous by thread: Does lockFocus (NSImage) within another context cause to drop transform info?
  • Next by thread: Re: ssh-tunnel, remote controlling (and stuff)
  • Index(es):
    • Date
    • Thread