PAGE2GO2 HOME | INTERNET NEWS

LeighExchange - Free Advertising Network Stock Research at Internet Speed Need Money Easy and Quick?

Re: Create new processes over telnet in XP

 List
Subject: Re: Create new processes over telnet in XP
Poster: ShaneGeigersgeiger@ncee.net
Date: Fri, 23 Mar 2007 16:17:43 -0500
Related Postings: 1 2 3 4 5 6 7 8
This is a multi-part message in MIME format. --------------010806040208080303090205 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit

This reminds me of something I once wanted to do: How can I install Python in a totally non-gui way on Windows (without the use of VNC)? I think I was telnetted into a computer (or something like that) and I was unable to run the usual Python installer because it uses a GUI.

Laurent Pointal wrote:
> Jorgen Grahn wrote:
>
>
>> On 23 Mar 2007 03:47:14 -0700, Godzilla wrote:
>>
>>> Hello,
>>>
>>> How do you create/spawn new processes in XP over telnet using python?
>>> I.e. I would like to create a new process and have it running in the
>>> background...
>>>
>> Ssh -- or even rsh -- are better choices than telnet for these things.
>> For some reason, they are not standard in Windows, though.
>>
>> ssh somewhere some command with arguments
>> rsh somewhere some command with arguments
>>
>> compared to
>>
>> telnet somewhere
>>
>> and then performing expect-like things (basically simulating
>> someone typing "some command with arguments" in the telnet
>> session).
>>
>
> + for an sshd running as a service under XP, look at CopSSH.
>
> + hope started process doesn't want a GUI... else, look at UltraVNC running
> as daemon, and port redirection using ssh.
>
>
>>> when I terminate the telnet connection, I would what the
>>> spawned processes to keep running until I shut it off...
>>>
>> That's a function of the remote OS; what happens when its terminal
>> goes away is not under the control of the client side.
>>
>
> Maybe the process starting job can be done by a Python program running as
> Windows service and waiting for requests on a port (or Pyro object or Corba
> object...).
> No need for telnet/ssh connection, no logout problem.
>
> Just care of possible security problems :-)
>
>
>
>

-- Shane Geiger IT Director National Council on Economic Education sgeiger@ncee.net | 402-438-8958 | http://www.ncee.net

Leading the Campaign for Economic and Financial Literacy

--------------010806040208080303090205 Content-Type: text/x-vcard; charset=utf-8; name="sgeiger.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="sgeiger.vcf"

begin:vcard fn:Shane Geiger n:Geiger;Shane org:National Council on Economic Education (NCEE) adr:Suite 215;;201 N. 8th Street;Lincoln;NE;68508;United States email;internet:sgeiger@ncee.net title:IT Director tel;work:402-438-8958 x-mozilla-html:FALSE url:http://www.ncee.net version:2.1 end:vcard

--------------010806040208080303090205--

 

Page2Go2.com is not responsible for content of this message.