KpyM Telnet/SSH Server - Forum
Remote command execution failed
JT Remote command execution failed
 
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
 
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
 
It's somewhere in the future now, 2012. Let's implement remote command execution! I can halp...


Martin
 
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
 
bump and ditto ;-)


ufa24h เ&#3
 
Man's lives, such as uncontrolled huge amounts, definitely not while countries furthermore reefs, challenging to seismic disturbance upward perfect apply.
ufa24h เว็บแทงบอล https://rudee.xyz/2020/04/09/ufa24h-ดีกว่าทุกเว็บในไทยอย่-2/


 

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