Hi,

Thanks for the batchfile type, it's a handy one.

I'm not editing over the internet, just local LAN for testing ATM. Protected
via firewall.

Would it not be fairly secure using a combination of the following:
.htaccess file
VPN?
https access?
Limit apache to only allow certain IP's?
And the public keys thing.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tzafrir Cohen
Sent: 25 February 2005 15:49
To: [email protected]
Subject: Re: [Asterisk-Users] FW: Getting PHP Config to work?

On Fri, Feb 25, 2005 at 01:52:21PM -0000, C. Tomlinson wrote:
> Richard,
> 
> I have been using WinSCP to transfer files across easily without messing
> with FTP accounts. I had not found that feature, many thanks for pointing
it
> out :-D
> 
> I will definitely use this from now on until I find a better solution. Do
> you have an easy way to reload asterisk after changing the files? Have
putty
> open to do a reload? Or use the builtin terminal capabilities of WinSCP?

Basically you need to run one shell command. In linux I'd use:

  ssh [EMAIL PROTECTED] asterisk -rx reload

As this is a platform without native support of ssh, you can use the
command plink to get basically the same effect. Create a putty 
configuration called "rapidroot" to connect to [EMAIL PROTECTED] and use
something like

  plink rapidroot asterisk -rx reload

in a batch file. Or use [open]ssh from cygwin, if you're more comfortable
with
it.

You should use public-keys authentication to get better control .
Actually you can configure a certain public key so it will only allow
running one single command (asterisk -rx reload, in your case).

> 
> This is a great fix as my main machine is currently Windows. However I
would
> still like to get phpconfig working as it would be easier to use that
across
> the internet etc.

OVER THE INTERNET???

See my recent post on the previous thread about phpconfig. Allowing
phpconfig to do the same is quite insecure.

Also consider using mc from the shell.

-- 
Tzafrir Cohen         | New signature for new address and  |  VIM is
http://tzafrir.org.il | new homepage                       | a Mutt's  
[EMAIL PROTECTED] |                                    |  best
ICQ# 16849755         | Space reserved for other protocols | friend
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to