/usr/share/doc/autossh-1.4a/README.Cygwin has information about how to set
this
up using autossh and cygrunsrv.
Since you're the Cygwin maintainer of autossh, I have a question:
shouldn't the service be installed with -y tcpip? just like sshd, to
avoid problems at startup.
I wasn't
Oh, and on the topic of automatically setting up ssh port forwarding as
a service: OP should definitely use autossh. This will keep the
connection alive if it drops, automatically restarting it as necessary.
Otherwise, the first time it dies the service will stop and the user
must manually
Am Montag 16 Juni 2008 schrieb René Berber:
Matthias Meyer wrote:
[snip]
$ cygrunsrv -I forward -p /usr/bin/ssh -a -v -f -2 -N -L
5729:localhost:5729 [EMAIL PROTECTED] -u root -w password
$ cygrunsrv -S forward
cygrunsrv: Error starting a service: StartService: Win32 error 1069:
Der
Andrew Schulman wrote:
Oh, and on the topic of automatically setting up ssh port forwarding as
a service: OP should definitely use autossh. This will keep the
connection alive if it drops, automatically restarting it as necessary.
Otherwise, the first time it dies the service will stop
Hello,
I try to start port forwarding shortly after boot by using cygrunsrv.
$ cygrunsrv -Q forward5729
Service : forward5729
Current State : Stopped
Command : /usr/bin/ssh -v -f -2 -N -L 5729:localhost:5729 [EMAIL
PROTECTED]
Unfortunately this will not work for
Matthias Meyer wrote:
I try to start port forwarding shortly after boot by using cygrunsrv.
$ cygrunsrv -Q forward5729
Service : forward5729
Current State : Stopped
Command : /usr/bin/ssh -v -f -2 -N -L 5729:localhost:5729 [EMAIL
PROTECTED]
[snip]
What should I
Am Sonntag 15 Juni 2008 schrieb René Berber:
Matthias Meyer wrote:
I try to start port forwarding shortly after boot by using cygrunsrv.
$ cygrunsrv -Q forward5729
Service : forward5729
Current State : Stopped
Command : /usr/bin/ssh -v -f -2 -N -L
Matthias Meyer wrote:
[snip]
$ cygrunsrv -I forward -p /usr/bin/ssh -a -v -f -2 -N -L 5729:localhost:5729 [EMAIL
PROTECTED] -u root -w password
$ cygrunsrv -S forward
cygrunsrv: Error starting a service: StartService: Win32 error 1069:
Der Dienst konnte wegen einer fehlerhaften Anmeldung
Matthias Meyer wrote:
[snip]
$ cygrunsrv -I forward -p /usr/bin/ssh -a -v -f -2 -N -L 5729:localhost:5729 [EMAIL
PROTECTED] -u root -w password
$ cygrunsrv -S forward
cygrunsrv: Error starting a service: StartService: Win32 error 1069:
Der Dienst konnte wegen einer fehlerhaften Anmeldung
René Berber wrote:
Sorry I didn't realize your user name is root, seems that cygrunsrv is
not able to change users which is a Windows capability option.
Cygrunsrv does not require the ability to change users as sshd does.
The service is configured to run as a given user in the service control
Brian Dessent wrote:
I still think you were right in that the OP was incorrectly using their
ssh username/password when they should be using their Windows username
and password.
Oh, and on the topic of automatically setting up ssh port forwarding as
a service: OP should definitely use autossh
I'm really sorry if this is available elsewhere, I searched the archives and
google and found nothing useful..
I pretty much need step by step instructions for setting up cywin to create
a ssh tunnel for using VNC on my home computer from work.
Thank you,
Jon
At 12:54 PM 10/30/2003, Jon Hughes you wrote:
I'm really sorry if this is available elsewhere, I searched the archives and google
and found nothing useful..
I pretty much need step by step instructions for setting up cywin to create a ssh
tunnel for using VNC on my home computer from work.
I have an error msg that it lloks like people have had
before, but where I've seen people mention the error
before was when they really were not providing the
neccessary parameters. I believe I am providing the
correct syntax.
I am trying to forward TCP ports over ssh. I have had
this up and
Matt wrote:
I am trying to forward TCP ports over ssh. I have had
this up and running on three different machines. Now
they all report the same error:
Matt@aptivaxp ~
$ ssh 5903:localhost:5900 [EMAIL PROTECTED]
ssh: 5903:localhost:5900: no address associated with
hostname.
Try -L:
$ ssh -L
Markus Schönhaber wrote:
Matt wrote:
I am trying to forward TCP ports over ssh. I have had
this up and running on three different machines. Now
they all report the same error:
Matt@aptivaxp ~
$ ssh 5903:localhost:5900 [EMAIL PROTECTED]
ssh: 5903:localhost:5900: no address associated with
16 matches
Mail list logo