note 78692 added to ref.ssh2
| From: | dan at novapulsar dot com | Date: | Tue, 23 Oct 2007 18:52:17 +0000 |
| Subject: | note 78692 added to ref.ssh2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-131667@lists.php.net to get a copy of this message | ||
when connecting with ssh2_auth_password (connection, username, password), if you don't use a
constant for the password you will get an authentication failure. i tried casting as a string,
putting in single and double quotes, etc.
i tried passing the password straight from mysql and couldn't. you'll spend hours trying
to figure this simple thing out, so you're stuck with using hard coded password strings for
now.
----
Server IP: 69.147.83.197
Probable Submitter: 71.202.223.87
----
Manual Page -- http://www.php.net/manual/en/ref.ssh2.php
Edit -- https://master.php.net/note/edit/78692
Del: integrated -- https://master.php.net/note/delete/78692/integrated
Del: useless -- https://master.php.net/note/delete/78692/useless
Del: bad code -- https://master.php.net/note/delete/78692/bad+code
Del: spam -- https://master.php.net/note/delete/78692/spam
Del: non-english -- https://master.php.net/note/delete/78692/non-english
Del: in docs -- https://master.php.net/note/delete/78692/in+docs
Del: other reasons-- https://master.php.net/note/delete/78692
Reject -- https://master.php.net/note/reject/78692
Search -- https://master.php.net/manage/user-notes.php