var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Connecting to remote shell + doing commands?
I want to make a script that will connect to a remote shell & do 2 commands.
is that possible in php?
you need to use ssh2_connect
however there are security risks.
hopefully this helps to some degree.
Last edited by Flumps; 10-10-2009 at 11:49 AM.
Unless of course, you're not using PHP...can you be a little more specific?
I wouldn't use php for something like this. Try Net : : SSH : : Perl (had to break that up b/c it turned into smileys) if you're familiar with perl. I've used it in the past without problems.
By effusionx1 in forum Programming Discussion
Last Post: 12-09-2005, 06:33 AM
By deagly in forum Programming Discussion
Last Post: 08-31-2005, 09:47 AM
By The Broadband Man in forum Programming Discussion
Last Post: 05-31-2005, 01:29 PM
By Angelo in forum Programming Discussion
Last Post: 04-25-2005, 12:01 AM
By Franki in forum Hosting Security and Technology
Last Post: 09-04-2002, 08:08 AM