login about faq

How can I run Tectia SFTP server in debug mode on z/OS?

asked Dec 20 '10 at 12:42

SSH%20KB's gravatar image

SSH KB ♦
509249246237


Instead of running the sshd2 server in debug mode, it is sometimes more useful to run just the sftp file transfer server in debug mode. The sftp server is a user specific process and the debug can be enabled for either a single user or for all users. The debug configuration is done through environment variables and it is not necessary to restart the sshd2 server. The file transfer server can be configured to run in debug mode using the environment variables SSH_SFTP_DEBUG and SSH_SFTP_DEBUG_FILE. The SSH_SFTP_DEBUG variable is used for setting the debug level and the SSH_SFTP_DEBUG_FILE contains the file where the debug output will be written. For debugging sftp file transfers for a particular user, a typical way to get the debug output is to modify the user's environment by adding the following lines in $HOME/.ssh2/environment :
SSH_SFTP_DEBUG=7
SSH_SFTP_DEBUG_FILE=/tmp/sftp-debug.txt
To enable file transfer debugging for all users, these variables can be set in the /etc/environment file.
link

answered Dec 20 '10 at 12:42

SSH%20KB's gravatar image

SSH KB ♦
509249246237

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×63
×34

Asked: Dec 20 '10 at 12:42

Seen: 13,616 times

Last updated: Mar 14 '11 at 22:22

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.