Re: SSH Tunnel
Re: SSH Tunnel
- Subject: Re: SSH Tunnel
- From: CodingMammoth <email@hidden>
- Date: Sat, 21 Feb 2009 08:34:53 +0100
Hey,
Maybe you can copy your public SSH-key to the computers that are using
your application.
More info http://remysharp.com/2007/01/22/ssh-without-a-password/
When you create those key's on your server, and you copy the public
keys on every computer that want SSH-access, no password will be needed.
Off course use a limited SSH-access profile (maybe a different ssh-
user per application-user etc).
CodingMammoth.com
Jelle De Laender
email@hidden
On 21 Feb 2009, at 07:23, Seth Willits wrote:
Howdy,
Perhaps this is less of a Cocoa question and more of a shell
question, but in my app I'm using a library (which I cannot modify)
which creates an insecure connection to remote server. I'd like to
offer the ability to wrap that connection in an SSH tunnel via a GUI
in my app. Simple commands are easy to do with NSTask, but what I
don't know how to deal with is handling the password and possible
"Do you blah blah blah (yes/no)?" requests that the SSH command
might spit up.
Does anyone have any experience with this? Am I barking up the wrong
tree trying to use the command line app to do it? Perhaps I should
be using a yet-to-be-discovered library instead.
Thanks,
--
Seth Willits
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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
References: | |
| >SSH Tunnel (From: Seth Willits <email@hidden>) |