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

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 or paramiko



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