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]

Starting OpenSSH client on a windows machine from a batch file

Subject: Starting OpenSSH client on a windows machine from a batch file
Date: Tue, 13 Feb 2007 17:22:00 +0000
Hi,

First time poster; please forgive me any protocol transgressions.

I am using openssh to secure a Synergy (mouse and keyboard sharing) connection 
between two machines on the same desk.

I can start ssh fine if I enter the following command into a cmd promt or even 
straight from the 'Run..' dialogue:

ssh -f -N -L 24800: <ssh server>:24800 <ssh server>

With this port re-direction in place I then point the Synergy client at 
localhost and a secure connection is made and everything works fine.

To make the process easier for my users - for some of whom starting the command 
promt is a bit too technical - I would like to either have the secure 
connection run at startup or have a batch file for the user to click on but I 
cannot get the ssh command above to run like this.

From a batch file it repeatedly runs the command, never connecting, until it 
runs out of memory space.

Many thanks, in advance, for your time.

Stu




<Prev in Thread] Current Thread [Next in Thread>
  • Starting OpenSSH client on a windows machine from a batch file, Stu Templeman <=