Symptom
When trying to configure ISE 2.6p3 with VanDyke SFTP server, either from CLI or GUI, we are receiving the below debug output.
#debug transfer 7
#debug copy 7
ise-node# 6 [106616]:[info] transfer: cars_xfer.c[224] [system]: sftp dir of repository SFTP requested
6 [106616]:[info] transfer: cars_xfer_util.c[2284] [system]: Server validation successful x.x.x.x
7 [106616]:[debug] transfer: sftp_handler.c[1036] [system]: Running sftp command: x.x.x.x transuser *** // ls -l //
6 [106616]:[info] transfer: sftp_handler.c[563] [system]: DEBUG: local user: root UID: 300 sftp_run_parent FD: 1021 remote host: x.x.x.x remote user: transuser command: ls -l //
7 [106616]:[debug] transfer: sftp_handler.c[595] [system]: fd is:1021
7 [183358]:[debug] transfer: sftp_handler.c[268] [system]: Executing SFTP command: 300 root /usr/bin/sftp -oIdentityFile=/root/.ssh/id_rsa -oUserKnownHostsFile=/root/.ssh/known_hosts transuser@x.x.x.x
3 [106616]:[error] transfer: sftp_handler.c[846] [system]: sftp_run_parent Error: unable to handle sftp output
7 [106616]:[debug] transfer: sftp_handler.c[926] [system]: sftp parent status -999
isenode# sho repository SFTP-RSA
6 [104657]:[info] transfer: cars_xfer.c[224] [s11729]: sftp dir of repository SFTP-RSA requested
6 [104657]:[info] transfer: cars_xfer_util.c[2284] [s11729]: Server validation successful x.x.x.x
7 [104657]:[debug] transfer: sftp_handler.c[1036] [s11729]: Running sftp command: x.x.x.x transuser *** //acsreportsc/ ls -l //acsreportsc/
We can see here that ISE is trying to send "//" in the filepath. This is causing the communication between ISE and VanDyke SFTP server to fail.
Workaround
For SolarWind SFTP server a workaround was to access a directory different from root.
1. Create a folder inside the server root folder
2. In ISE, configure the SFTP server to point to the new on the SFTP server.