summaryrefslogtreecommitdiffstats
path: root/tdeioslave/sftp/DEBUGGING
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/sftp/DEBUGGING')
-rw-r--r--tdeioslave/sftp/DEBUGGING12
1 files changed, 12 insertions, 0 deletions
diff --git a/tdeioslave/sftp/DEBUGGING b/tdeioslave/sftp/DEBUGGING
new file mode 100644
index 000000000..89ae8fe18
--- /dev/null
+++ b/tdeioslave/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.