svn: /phpdoc/en/trunk/reference/ssh2/functions/ ssh2-auth-agent.xml ssh2-sftp-chmod.xml

From: Date: Sun, 11 Nov 2012 20:14:01 +0000
Subject: svn: /phpdoc/en/trunk/reference/ssh2/functions/ ssh2-auth-agent.xml ssh2-sftp-chmod.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-10682@lists.php.net to get a copy of this message
takagi Sun, 11 Nov 2012 20:14:01 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=328309 Log: Set svn:keywords Changed paths: UU phpdoc/en/trunk/reference/ssh2/functions/ssh2-auth-agent.xml UU phpdoc/en/trunk/reference/ssh2/functions/ssh2-sftp-chmod.xml Modified: phpdoc/en/trunk/reference/ssh2/functions/ssh2-auth-agent.xml =================================================================== --- phpdoc/en/trunk/reference/ssh2/functions/ssh2-auth-agent.xml 2012-11-11 19:22:21 UTC (rev 328308) +++ phpdoc/en/trunk/reference/ssh2/functions/ssh2-auth-agent.xml 2012-11-11 20:14:01 UTC (rev 328309) @@ -1,102 +1,102 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 315005 $ --> -<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.ssh2-auth-agent"> - <refnamediv> - <refname>ssh2_auth_agent</refname> - <refpurpose>Authenticate over SSH using the ssh agent</refpurpose> - </refnamediv> - - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>ssh2_auth_agent</methodname> - <methodparam><type>resource</type><parameter>session</parameter></methodparam> - <methodparam><type>string</type><parameter>username</parameter></methodparam> - </methodsynopsis> - <para> - Authenticate over SSH using the ssh agent - </para> - <note> - <simpara> - The <function>ssh2_auth_agent</function> function will only be available - when the ssh2 extension is compiled with libssh >= 1.2.3. - </simpara> - </note> - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <para> - <variablelist> - <varlistentry> - <term><parameter>session</parameter></term> - <listitem> - <para> - An SSH connection link identifier, obtained from a call to - <function>ssh2_connect</function>. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>username</parameter></term> - <listitem> - <para> - Remote user name. - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - &return.success; - </para> - </refsect1> - - <refsect1 role="examples"> - &reftitle.examples; - <para> - <example> - <title>Authenticating with a ssh agent</title> - <programlisting role="php"> -<![CDATA[ -<?php -$connection = ssh2_connect('shell.example.com', 22); - -if (ssh2_auth_agent($connection, 'username')) { - echo "Authentication Successful!\n"; -} else { - die('Authentication Failed...'); -} -?> -]]> - </programlisting> - </example> - </para> - </refsect1> - -</refentry> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"~/.phpdoc/manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="UTF-8"?> +<!-- $Revision$ --> +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.ssh2-auth-agent"> + <refnamediv> + <refname>ssh2_auth_agent</refname> + <refpurpose>Authenticate over SSH using the ssh agent</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>ssh2_auth_agent</methodname> + <methodparam><type>resource</type><parameter>session</parameter></methodparam> + <methodparam><type>string</type><parameter>username</parameter></methodparam> + </methodsynopsis> + <para> + Authenticate over SSH using the ssh agent + </para> + <note> + <simpara> + The <function>ssh2_auth_agent</function> function will only be available + when the ssh2 extension is compiled with libssh >= 1.2.3. + </simpara> + </note> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>session</parameter></term> + <listitem> + <para> + An SSH connection link identifier, obtained from a call to + <function>ssh2_connect</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>username</parameter></term> + <listitem> + <para> + Remote user name. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Authenticating with a ssh agent</title> + <programlisting role="php"> +<![CDATA[ +<?php +$connection = ssh2_connect('shell.example.com', 22); + +if (ssh2_auth_agent($connection, 'username')) { + echo "Authentication Successful!\n"; +} else { + die('Authentication Failed...'); +} +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Property changes on: phpdoc/en/trunk/reference/ssh2/functions/ssh2-auth-agent.xml ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL Added: svn:eol-style + native Modified: phpdoc/en/trunk/reference/ssh2/functions/ssh2-sftp-chmod.xml =================================================================== --- phpdoc/en/trunk/reference/ssh2/functions/ssh2-sftp-chmod.xml 2012-11-11 19:22:21 UTC (rev 328308) +++ phpdoc/en/trunk/reference/ssh2/functions/ssh2-sftp-chmod.xml 2012-11-11 20:14:01 UTC (rev 328309) @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Revision: 315005 $ --> +<!-- $Revision$ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.ssh2-sftp-chmod"> <refnamediv> <refname>ssh2_sftp_chmod</refname> Property changes on: phpdoc/en/trunk/reference/ssh2/functions/ssh2-sftp-chmod.xml ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL Added: svn:eol-style + native

« previous php.doc.cvs (#10682) next »