Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reading config of fgt with scp/php
Hi,
I tried to fetch a config-file of our Fortigates using the php command ssh2_scp_recv, but it does not work.
The connection is established using the ssh2-class and works without and problem. Both, password and key-authentication works, opening a virtual shell also works.
But a simple csp failes with
PHP Warning: ssh2_scp_recv(): Unable to receive remote file in[...]
Using scp on the linux shell is ok, but I do not like a use a shell-excecute in such a script. Any hints?
I am using php 5.4.4, libssh2 1.4.2 on debian wheezy/stable.
best regards, TC
best regards, TC
- « Previous
-
- 1
- 2
- Next »
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you finally get this working ?
I have the exact same problem as you describe.

- « Previous
-
- 1
- 2
- Next »