TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:5612] running commands remotely



Quoting Tim Wilson (wilson@chemsun.chem.umn.edu):
> Howdy,
> 
> I'd like to telnet in to my server from home, start some process, and log
> out and have the process continue to run on its own. How can I do it?
> Specifically, trying to get a copy of RedHat 6.0 today has reminded me how
> nice it would be to have my server do that in the middle of the night
> while I'm snoozing. I don't want to be logged in to school all night.
> Ideas?

First, remove telnet. Clear-text username and passwords are a curse to all
admins and the script kiddies love it. Get ssh from ftp.replay.com.

To run a command remotely you can ssh to your box and do something like this:

% nohup ncftp -R ftp://ftp.real-time.com/pub/redhat/redhat-6.0 &

If you are looking to snarf files, just mirror, works great.  If you go the
mirror route I'll post my mirror packages as examples.

More advance use of ssh:

% ssh hostname.domain.com command


-- 
Bob Tanner <tanner@real-time.com>       | Phone : (612)943-8700
http://www.real-time.com                | Fax   : (612)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9