<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Bote,<br>
<br>
thanks for your reply. Maybe my post was a bit misleading. In both
cases I have a shell opened on the machine and try from there
running fs_cli.exe. The difference is<br>
<ul>
<li>1st case: I open a local shell on the Windows machine (via
RDP connection), run cygwin, get a unix shell and then start
fs_cli. Works.</li>
<li>2nd case: Form an external machine I ssh to the Windows
machine (sshd server is running there with cygwin), have a
unix shell and then start fs_cli. Does not work as described
below.</li>
</ul>
<p>So both cases are connecting to localhost:8021. And I am
wondering now, why this behaves differently.<br>
</p>
Why Cygwin? For me, this is much easier, because I am used to
Linux tools (grep, tail, editors, mc, ...). And it's much better
for documentation purposes, when this all is text based and you
have a large terminal window.<br>
<br>
<br>
Best regards<br>
Peter<br>
<br>
On 02/04/16 22:47, Bote Man wrote:<br>
</div>
<blockquote cite="mid:007c01d15f95$a588b220$f09a1660$@botecomm.com"
type="cite">
<pre wrap="">You can only connect to port 8021 locally because
<param name="listen-ip" value="127.0.0.1"/>
Is set in autoload_configs/event_socket.conf.xml
If you set that to value to 0.0.0.0 the whole world can connect to port
8021, but the problem with that is that the whole world can connect. I
wouldn't change without careful consideration of the security impact.
I have never used ssh to connect to Windows machine, I didn't even know that
it is possible so that is a new one to me. I just remote desktop (mstsc.exe)
into the target machine and run the necessary commands and utilities
directly on the box.
Sorry I couldn't be more help.
---
Bote
FreeSWITCH Docs Janitor
<a class="moz-txt-link-freetext" href="http://freeswitch.org/confluence">http://freeswitch.org/confluence</a>
</pre>
<blockquote type="cite">
<pre wrap="">-----Original Message-----
From: Peter Steinbach
Sent: Thursday, 04 February, 2016 16:20
Subject: [Freeswitch-users] fs_cli under Windows and cygwin, no prompt
I have inherited a Freeswitch installation on a Windows server, which I
remotely manage with cygwin and ssh.
This worked more or less nicely so far. But today I cannot manage
Freeswitch via ssh with fs_cli anymore. I restarted the hardware, but no
change.
I can run fs_cli.exe, and I see the Freeswitch messages, but I do
__not__ get a prompt. When I try to enter characters, nothing happens.
On the machine itself, when I open a console and start cygwin,
fs_cli.exe works as expected with prompt. But not via ssh. But
fs_cli.exe -x "command" works via ssh, so login to Freeswitch should be
fine in general.
What I understand is, that fs_cli connects to Freeswitch via port 8021.
So when seeing FS messages, I expect that the connection is already
fine, right?
I also tried to connect via telnet to port 8021. This works in the local
cygwin shell (get an auth request), but not via remote ssh shell (telnet
terminates without message).
I am puzzled. Anybody has a clue, why I do not have a prompt and where
to search?
--
With kind regards
Peter Steinbach
Telefaks Services GmbH
<a class="moz-txt-link-freetext" href="mailto:lists">mailto:lists</a> (att) telefaks.de
Internet: <a class="moz-txt-link-abbreviated" href="http://www.telefaks.de">www.telefaks.de</a>
__________________________________________________________
_______________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<pre wrap="">
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
With kind regards
Peter Steinbach
Telefaks Services GmbH
<a class="moz-txt-link-freetext" href="mailto:lists">mailto:lists</a> (att) telefaks.de
Internet: <a class="moz-txt-link-abbreviated" href="http://www.telefaks.de">www.telefaks.de</a>
</pre>
</body>
</html>