Re: Using ssh with the NSTask class
Re: Using ssh with the NSTask class
- Subject: Re: Using ssh with the NSTask class
- From: Kaelin Colclasure <email@hidden>
- Date: Thu, 20 Nov 2003 07:13:44 -0800
You may also want to have a look at `man ssh-agent`.
-- Kaelin
On Nov 19, 2003, at 9:20 PM, Sherm Pendley wrote:
On Nov 19, 2003, at 11:46 PM, Simone Manganelli wrote:
Does anyone know how to get output from an ssh session using an
NSTask? The problem is that a password is always required to get
onto the remote server, and I'm not sure what the best way is to go
about entering the password (actually, I don't know any way) if I'm
using an NSTask class to launch the ssh session
If ssh isn't connected to a terminal, and the SSH_ASKPASS environment
is set to the full path to an app, then ssh runs that app to obtain
the user name & password instead of prompting for it on stdout and
reading it from stdin.
Check out SSHPassKey for a great example.
sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.