From: Chuck E. <Chu...@St...> - 2002-02-20 16:10:45
|
On Sunday 27 January 2002 07:20 am, Stefán Freyr Stefánsson wrote: > Can anybody tell me if they know of a Windows version of PySSH or if > they know if the PTY module exists somewhere for Windows? Heh. Talk about a late response. You may be able to use something like: os.exec*('ssh ro...@wh... useradd foo') (where *=those letters like v or ve) assuming you have a rsa key pair so that password prompt is required. Then you have to ask yourself if it's okay to give root access to the target box from the Windows account. (Windows is NOT well known for it's security...) Good luck, -Chuck |