Re: How to close a SSH connection from a BAT file

2007-08-20 Thread Sylvain Richard
Anthony de Sousa wrote: the next time that net start ssh is issued the following errors are in the log bind: Address already in use channel_setup_fwd_listener: cannot listen to port: 139 Could not request local forwarding Re your port 139 problem, see: http://www.blisstonia.com/eolson/notes/sm

Re: How to close a SSH connection from a BAT file

2007-08-20 Thread Anthony de Sousa
Anthony de Sousa csc.com> writes: > > > I would like to conclude that we have decided to use AUTOSSH to control ssh. With autossh the processes are stoped automatically whenever autossh is stoped. As Brian originally suggested all that is then required on either side of the bat file is a Ne

Re: How to close a SSH connection from a BAT file

2007-08-05 Thread Anthony de Sousa
Andrew Schulman <[EMAIL PROTECTED]> writes: > > > Brian Thanks for the suggestions and I was extreemly interested in trying your > > suggestion of running the SSH client as a service. However I have not been > > successful in setting it up. Although it does install as a service, when it is >

Re: How to close a SSH connection from a BAT file

2007-08-03 Thread Andrew Schulman
> Brian Thanks for the suggestions and I was extreemly interested in trying > your > suggestion of running the SSH client as a service. However I have not been > successful in setting it up. Although it does install as a service, when it > is > started it immediatly stops as unable to authenti

Re: How to close a SSH connection from a BAT file

2007-08-03 Thread Brian Dessent
Anthony de Sousa wrote: > Brian Thanks for the suggestions and I was extreemly interested in trying your > suggestion of running the SSH client as a service. However I have not been > successful in setting it up. Although it does install as a service, when it is > started it immediatly stops as un

Re: How to close a SSH connection from a BAT file

2007-08-02 Thread Anthony de Sousa
Brian Thanks for the suggestions and I was extreemly interested in trying your suggestion of running the SSH client as a service. However I have not been successful in setting it up. Although it does install as a service, when it is started it immediatly stops as unable to authenticate with the

Re: How to close a SSH connection from a BAT file

2007-07-31 Thread Brian Dessent
Anthony de Sousa wrote: > I am hoping that someone may be able to advise as to whether the following is > possible. I have a server running SSH as a service (SRVA) and another server > (SRVB) which runs the SSH client and port forwards port 139. On SRVB I have > an existing BAT file that I wish to