Hello Bote,

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

So both cases are connecting to localhost:8021. And I am wondering now, why this behaves differently.

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.


Best regards
Peter

On 02/04/16 22:47, Bote Man wrote:
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
http://freeswitch.org/confluence




-----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
mailto:lists (att) telefaks.de
Internet: www.telefaks.de


__________________________________________________________
_______________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
mailto:lists (att) telefaks.de
Internet: www.telefaks.de