KpyM Telnet/SSH Server - Forum
Running commands without shell
Alex Running commands without shell
I'm trying to a command without opening the shell to automate certain tasks on remote hosts. As an example:
ssh user@host del C:\logs\*

KpyM just hangs at that point until I CTRL-C out. Is there another way to send commands or is this functionality not supported?

Using registered version without registration message.

Thank you.

If it helps, debug output of openssh after sending the command:
debug1: Sending command: ls
debug2: channel 0: request exec confirm 1
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 2146426879 rmax 16384
debug3: Wrote 112 bytes for a total of 2573
debug2: channel_input_status_confirm: type 99 id 0
debug2: exec request accepted on channel 0

At this point it just hangs without any output.

Nevermind, found a thread that explains it is not a supported feature. Any plans?


© 2007 - 2008 Kroum Grigorov
Powered by phpBB © 2001, 2005 phpBB Group