KpyM Telnet/SSH Server - Forum
Start service via ssh
Anderson Shibata Start service via ssh
 
Hi!

I bought the KpyM license. I would like to start a service in Windows via ssh.
On Linux the command is ssh user@ip net start service. How do I start using KpyM?
being that I tried to start up comand, but was not successful.


Kroum Grigorov
 
> ssh user@ip net start service
You are requesting a non interactive SSH session, and KTS does not support this yet.
You have to login first "ssh user@ip" starting an interactive session and then you could "net start" your service

If you need to automate this you could script the ssh command.
For example with expect l0c41://www.kpym.com/phpbb/viewtopic.php?t=335 or paramiko l0c41://www.kpym.com/phpbb/viewtopic.php?t=355

Kroum


 

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