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. |

| Subject: | Re: Openssh in batch from Windows with public key |
|---|---|
| Date: | Mon, 22 Jan 2007 16:12:15 +0000 |
Hi
Bjorn is correct - the task scheduler runs as 'system' by default, when you create the task you can enter a user name and password (e.g. yours) for the task to run as , this may well solve your issue with key access and use. I have not used the Unicenter scheduler, but as this feature is natively available in the Windows task scheduler I would be very surprised if it wasn't available in a third party product..
cheers
Kevin
--------- Forwarded message ---------- From: Björn Bergstrand <bjorn@favoptic.com> To: bruno.nigro@sia.it Date: Fri, 19 Jan 2007 18:18:09 +0100 Subject: Re: Openssh in batch from Windows with public key Might be shooting in the dark here, since i have no experience with windows schedulers but the scheduler might run as another user, and ssh demands that your key is only readable by the user. A quick fix might be to change ownership of the key to someone who's not using it at all (like nobody on a unix system) and change the permissions on the file to something like 444. Not a recommended practice though :)
Björn
On 19 Jan 2007 10:55:29 -0000 bruno.nigro@sia.it wrote:
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
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Re: Openssh in batch from Windows with public key, bruno . nigro |
|---|---|
| Next by Date: | Re: ssh client hanging after authn for interactive sessions, David Anderson |
| Previous by Thread: | Re: Re: Openssh in batch from Windows with public key, bruno . nigro |
| Next by Thread: | Re: Openssh in batch from Windows with public key, bruno . nigro |
| Indexes: | [Date] [Thread] [Top] [All Lists] |