On Monday 31 January 2005 16:44, Linn Fagerberg wrote:
I am trying to use a php system command to run a script and access files
from another server using SSH. This does not seem to work in PHP or else I
am doing it wrong because I keep on getting the system return value=255
when I do
Linn Fagerberg wrote:
I am trying to use a php system command to run a script and access files
from another server using SSH. This does not seem to work in PHP or else I
am doing it wrong because I keep on getting the system return value=255
when
I do
system(/usr/bin/ssh 10.0.0.1, $value)
* Thus wrote Linn Fagerberg:
Hi,
I am trying to use a php system command to run a script and access files
from another server using SSH. This does not seem to work in PHP or else I
am doing it wrong because I keep on getting the system return value=255 when
I do
system(/usr/bin/ssh
On Mon, 2004-08-16 at 08:39, Teren wrote:
Hi, what my goal is is to be able to authenticate a user by they SSH acount on the
system using php. I tried looking on google, but didn't see anything with ssh. What
i've tried to do is use the exec() and just do:
exec(ssh [EMAIL
Hi, what my goal is is to be able to authenticate a user by they SSH
acount on the system using php. I tried looking on google, but didn't
see anything with ssh. What i've tried to do is use the exec() and
just do:
exec(ssh [EMAIL PROTECTED].escapleshellard(password));
You can try
On Mon, 2004-08-16 at 10:15, Michal Migurski wrote:
Hi, what my goal is is to be able to authenticate a user by they SSH
acount on the system using php. I tried looking on google, but didn't
see anything with ssh. What i've tried to do is use the exec() and
just do:
exec(ssh
setup, but I'd like to add a web login to make it more user friendly. Thanks
Teren
- Original Message -
From: Michal Migurski [EMAIL PROTECTED]
To: Robby Russell [EMAIL PROTECTED]
Cc: Teren [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, August 16, 2004 1:15 PM
Subject: Re: [PHP] SSH
, August 16, 2004 1:15 PM
Subject: Re: [PHP] SSH Authentication using php
Hi, what my goal is is to be able to authenticate a user by they SSH
acount on the system using php. I tried looking on google, but didn't
see anything with ssh. What i've tried to do is use the exec() and
just
Ok, here's the whole project, I have an openbsd box using authpf which
uses authentication via ssh login. So, i'm trying to create a weblogin
using php so people just have to enter their username/password (which
would be a restricted unix account) to gain access to the internet. I
have authpf
Ok, here's the whole project, I have an openbsd box using authpf which
uses authentication via ssh login. So, i'm trying to create a weblogin
using php so people just have to enter their username/password (which
would be a restricted unix account) to gain access to the internet. I
have authpf
Does anybody know if theirs a function or something for php that when I
click a button it automatically sshes into a box runs a script and then
exits?
Ive seen it been done in java but php would be better.
`ssh [EMAIL PROTECTED] scriptname`
Something like that will work using backticks, the only
Brent --
...and then Brent Clark said...
%
% Does anybody know if theirs a function or something for php that when I
% click a button it automatically sshes into a box runs a script and then
% exits? Ive seen it been done in java but php would be better.
If you want to connect from the *server*
list [EMAIL PROTECTED]
Cc: Ryan A [EMAIL PROTECTED]
Sent: Monday, November 17, 2003 4:23 AM
Subject: Re: [PHP] SSH and php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Monday 17 November 2003 15:02, Ryan A wrote:
So I guess my question gets cut down to basically any good place/program
to learn/use SSH?
No such thing as an 'ssh command' really.. apart from the command used to
invoke SSH. SSH (crudely) is an encrypted form of telnet.
You need a beginner's
% Doing a quick search on google for SSH commands and SSH help returned
% quite a lot
% of crap that really didnt help me learn.
Good enough. What do you want to do?
Basically stop/restart apache when i make changes to the httpd.conf file.
But then thinking of it I realize that if I stop apache
Ryna --
...and then Ryan A said...
%
% Hey David,
Hiya!
%
% % Is it possible to run a SSH command from php?
% Sure; it's possible to run any command from php. It may not work all
% that well, though :-)
%
% heheh, good one. As helpful as usual :-D
Always there for ya, man :-)
%
% Good
Ryan --
...and then Ryan A said...
%
% Hi guys,
Hi!
% Is it possible to run a SSH command from php?
Sure; it's possible to run any command from php. It may not work all
that well, though :-)
% coming from a windows background I have no idea about shell/SSH and am
% pretty lost.
% Doing a
privileges at all, a common safeguard, on RH Linux.
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003 10:38 PM
To: tirumal b
Cc: PHP-General
Subject: Re: [PHP] ssh command in php script
On Tue, 2003-11-11 at 01
On Tue, 2003-11-11 at 01:34, tirumal b wrote:
Hello All
I have written the following command in PHP script
echo `ssh ipaddr command`. I have the remote ip
addr as trusted, dont ask for the password at all.
when the execute the php file from the browser it does
not go to the remote ip at
On Tue, 2003-11-11 at 01:37, Robert Cummings wrote:
On Tue, 2003-11-11 at 01:34, tirumal b wrote:
Hello All
I have written the following command in PHP script
echo `ssh ipaddr command`. I have the remote ip
addr as trusted, dont ask for the password at all.
when the execute the php
Mantas --
...and then Mantas Kriauciunas said...
%
...
% And what I need this script for, is, not everyone knows how to use ssh
% and I don't want to give access to 50 users that can run their
% processes, my server will freeze. That's why I need to change it somehow
Either your users plan to
The one problem and serious security risk you will be introducing is
that if you run passwd as an unprivliged user you can only change the
password of the user you are running it as. Therefore, the webserver
would be running as apache, so the only password it could change would
be for user
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] SSH change password!
The one problem and serious security risk you will be introducing is
that if you run passwd as an unprivliged user you can only change the
password of the user you are running it as. Therefore, the webserver
would be running as apache
12:03 PM To: Mantas Kriauciunas
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] SSH change password!
The one problem and serious security risk you will be introducing is
that if you run passwd as an unprivliged user you can only change the
password of the user you are running it as. Therefore
On Fri, 24 Jan 2003 11:48:50 -0600, you wrote:
What I need is to change users password on the server, I want to write
that script and it needs to be safe. So I don't know what should I use.
I think I will need to check username and password, then log in through
website with it and then use passwd
As this is very OT I have replied privately.. :)
James
-Original Message-
From: Alan Todd [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 12:59 PM
To: PHP
Subject: [PHP] SSH (again)
Question for all you out there .. Trying to do ssh (yes i know i checked
the
archives) .. i
Previously, Dennis Gearon said:
***AND*** getting the certificate to work for it?
My provider that runs php/mysql/etc only lets people use SSH connections
for telnet, which I agree with.
As others have mentioned, PuTTY is the way to go. You can use key files
with it, or passwords (or
Tyrone Mills pressed the little lettered thingies in this order...
How about using something like puTTY or SecureCRT?
Just a side note. I also like SecureCRT, but it isn't free (which was
the original request) unless you install an alternative license. It's
worth the $99 to me, but the
On Mon, 14 May 2001 23:29:03 -0800, Christopher Ostmo
([EMAIL PROTECTED]) wrote:
Tyrone Mills pressed the little lettered thingies in this order...
How about using something like puTTY or SecureCRT?
Just a side note. I also like SecureCRT, but it isn't free (which
was
the original request)
As others metioned, you feel free to use Putty.
If it doesn't fit your needs, I 've a fairly old SSH extension to Teraterm Pro, i can
post it to you.
But it takes a little time to find it.
- Original Message -
From: Dennis Gearon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 2001.
PROTECTED]]
Sent: Tuesday, May 15, 2001 8:43 AM
To: Dennis Gearon; [EMAIL PROTECTED]
Subject: Re: [PHP] ssh
As others metioned, you feel free to use Putty.
If it doesn't fit your needs, I 've a fairly old SSH extension to Teraterm
Pro, i can post it to you.
But it takes a little time
How about using something like puTTY or SecureCRT?
I use puTTY to connect Windoze boxes to my linux servers all the time, it
works great and actually passes the function keys to remote server instead
of interpreting them itself.
- Original Message -
From: Dennis Gearon [EMAIL PROTECTED]
Simple. Get putty. It is, by far, the best free ssh client out there.
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
It's small, too.
Ethan Schroeder
- Original Message -
From: Dennis Gearon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 14, 2001 5:26 PM
I use mindterm sometimes, as well. I love it.
Ethan Schroeder
- Original Message -
From: Dennis Gearon [EMAIL PROTECTED]
To: Ethan Schroeder [EMAIL PROTECTED]
Sent: Monday, May 14, 2001 7:04 PM
Subject: Re: [PHP] ssh
WOW! installation beats the HELL out of the teraterm project
Kyle Jerviss wrote:
Yeek! Not quite what I meant. I don't think that web servers have any
business being on windows boxes. I was wondering if there were a way to
upload using something like scp from a windows (or other) browser to a
unix server.
There is a nice program WinSCP at
To my knowledge, there's no way to make a browser do SCP without coming up
with a custom plugin, which isn't likely to be within the scope of stuff
you're willing to take on. Fortunately, someone else has done it for you.
F-Secure SSH is an SSH terminal client that includes tunneling and file
Try pscp from putty :
http://www.chiark.greenend.org.uk/~sgtatham/putty/
-Stathis.
Kyle Jerviss wrote:
Yeek! Not quite what I meant. I don't think that web servers have any
business being on windows boxes. I was wondering if there were a way to
upload using something like scp from a
write a lib that can call scp :)
-alex
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film Center
2600 Tenth St Suite 433
Berkeley, CA 94710-2522
From: [EMAIL PROTECTED] ("Nando2")
Yeek! Not quite what I meant. I don't think that web servers have any
business being on windows boxes. I was wondering if there were a way to
upload using something like scp from a windows (or other) browser to a
unix server.
bard wrote:
the people who make putty (my favorite ssh client
39 matches
Mail list logo