summaryrefslogtreecommitdiffstats
path: root/kioslave/sftp/DEBUGGING
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/sftp/DEBUGGING')
-rw-r--r--kioslave/sftp/DEBUGGING12
1 files changed, 12 insertions, 0 deletions
diff --git a/kioslave/sftp/DEBUGGING b/kioslave/sftp/DEBUGGING
new file mode 100644
index 000000000..89ae8fe18
--- /dev/null
+++ b/kioslave/sftp/DEBUGGING
@@ -0,0 +1,12 @@
+DEBUGGING
+
+The best way to debug this slave is to send debug info to a
+file using 'kdebugDialog --fullmode'. Then you can 'tail -f' the file to
+see debug messages in real-time.
+
+I also suggest getting the openssh source and recompiling sftp-server to
+send messages to the auth log. This can be done in sftp-server.c be defining
+DEBUG_SFTP_SERVER.
+
+You can do the same with the ssh client by finding the two calls to log_init()
+in ssh.c and changing the last argument from 1 to 0 and recompiling.