KpyM Telnet/SSH Server - Forum
Remote command execution failed |
JT |
Remote command execution failed |
Sep 30 2008 08:41 |
|
Hello,
I'm going into trouble when I try to execute remote command after logon (eg. cmd) automatically. I'm using PuTTY as SSH client, I set the remote command in PuTTY Configuration Window -> Connection -> SSH -> Remote Command: and then connect. Type in login name and password and after that PuTTY ERROR Message 'Server refused to start a shell/command' appeared. I'm using latest KpyM version. This procedure works fine in another SSH server implementations.
kts-log.txt contains this info for the event:
3880 : 3788 2008- 9-30 10:24:14 246 : 0: KTS connected to 127.0.0.1:4292
3244 : 632 2008- 9-30 10:24:14 637 : 0: session.exe started
3244 : 632 2008- 9-30 10:24:14 778 : 0: connected to 127.0.0.1:4292
3244 : 632 2008- 9-30 10:24:15 809 : 0: ssh initialized
3244 : 632 2008- 9-30 10:24:22 75 : 0: ssh.login.end
3244 : 632 2008- 9-30 10:24:22 184 : 0: login accepted: [ user ]
3244 : 632 2008- 9-30 10:24:22 215 : 0: can't read first packet
3244 : 4012 2008- 9-30 10:24:22 215 : 0: session.exe end
Thanks for any information.
|
Kroum Grigorov |
|
Sep 30 2008 13:56 |
|
Yes, "shell/command" sessions are not supported yet.
Only "terminal" sessions are supported(interactive sessions)
I plan to add command sessions support somewhere in the future.
Kroum
|
Derek Moore |
|
May 14 2012 20:17 |
|
It's somewhere in the future now, 2012. Let's implement remote command execution! I can halp...
|
Martin |
|
May 16 2014 14:01 |
|
If it wasn't future in 2012 when Derek wrote his post, it's the future now for sure in 2014. Could you please implement remote command execution now ?
|
binki |
|
Feb 22 2015 02:34 |
|
bump and ditto ;-)
|
© 2007 - 2008 Kroum Grigorov