FROM : Kevin Ferguson
DATE : Wed Jun 25 23:01:06 2008
Greetings,
I'm attempting to write an SSH wrapper for a cocoa application. It
doesn't need to do anything fancy, only get me logged into the remote
machine. Beyond that, my application will execute commands as the user
requests them.
I am, however, running into a problem. I have my task set up to go.
The issue I'm running into is that SSH obviously requires a password
authentication. Reading though the SSH man page, I can't find a flag
that lets you specify a password in the initial command. There doesn't
appear to be any way to make my application wait for the password
prompt, either.
Is there a flag I just read over to include a password, or does Cocoa
have a way of waiting for the password prompt? Maybe something I'm
missing?
Thanks!
-Kevin
DATE : Wed Jun 25 23:01:06 2008
Greetings,
I'm attempting to write an SSH wrapper for a cocoa application. It
doesn't need to do anything fancy, only get me logged into the remote
machine. Beyond that, my application will execute commands as the user
requests them.
I am, however, running into a problem. I have my task set up to go.
The issue I'm running into is that SSH obviously requires a password
authentication. Reading though the SSH man page, I can't find a flag
that lets you specify a password in the initial command. There doesn't
appear to be any way to make my application wait for the password
prompt, either.
Is there a flag I just read over to include a password, or does Cocoa
have a way of waiting for the password prompt? Maybe something I'm
missing?
Thanks!
-Kevin
| Related mails | Author | Date |
|---|---|---|
| Kevin Ferguson | Jun 25, 23:01 | |
| Jens Alfke | Jun 25, 23:28 | |
| Stephen J. Butler | Jun 25, 23:33 | |
| Hamish Allan | Jun 26, 00:51 |






Cocoa mail archive

