[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Remotely editing files



On Wed, Jun 11, 2003 at 06:45:03PM +1000, Greg Wright wrote:
> All I need to do, is find a way to securely connect to the Debian system
> (from a windows server at this stage, the programmer isn't confident to
> work in a deb environment) and load, modify and save the dhcp.conf file.
> Better is be able to restart DHCP afterwards.

Use pscp from PuTTY package. It's a scriptable scp client for Windows.
After putting the file on remote server you can issue the:
/etc/init.d/dhcp restart
command via PuTTY (which I think is scriptable, too),
or alternatively write a simple file monitor on your Debian box
and restart the DHCP server when the configuration file is changed.

Marcin



Reply to: