Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: Openssh in batch from Windows with public key

Subject: Re: Openssh in batch from Windows with public key
Date: Fri, 19 Jan 2007 12:13:22 -0500




We see a similar issue in some jobs we are trying to implement.

It might help to create a local dedicated agent account to run the job, we
saw problems with jobs scheduled to run as a Domain account.

Kevin Gilchrist
Project Director
Enterprise Systems Development
NYSE Group Inc.

212.656.5883



                                                                           
                                                                           
             bruno.nigro@sia.i                                             
             t                                                          To 
                Sent by:               secureshell@securityfocus.com       
             listbounce@securi                                          cc 
             tyfocus.com                                                   
                                                                   Subject 
                                       Openssh in batch from Windows with  
                01/19/2007             public key                          
             05:55 AM                                                      
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hello, I have a problem with a openssh client running on a Windows 2003
server; the client has to connect to a ssh server running on a Linux Red
Hat Enterprise 4, using public key authentication.
I've run through all the required steps, and everything works fine when I
connect interactively (logon to the Windows 2003 server, and running this
line from a dos prompt to execute a command on the remote server : "ssh
user@server command".
The problem arises when I want to do the same thing through a batch run by
a scheduler; I'm using a Unicenter scheduler, but the problem is the same
if I use Windows task scheduler. The batch job hangs, and I cannot obtain
any kind of log; in my opinion, it cannot find the public key of the user.
I tried with the -i option, but no result; anyone can help me ?
Thanks     Bruno





Visit our website at http://www.nyse.com

****************************************************

Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the 
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Group, Inc.

<Prev in Thread] Current Thread [Next in Thread>