> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Gregg, Jim
> Sent: Thursday, June 30, 2005 9:48 AM
> To: [email protected]
> Subject: Re: SSH Implementation problem
> 
> 
> Joel,
> 
> I still get nothing in /dev/null or in /tmp/sshd.stderr
> 
> Jim

Uh, you'll never get anything in /dev/null. It is the DD DUMMY of the
UNIX world.

If you want something, try:

nohup /usr/sbin/sshd -f /etc/ssh/sshd_config >>/tmp/sshd.stderr 2>&1 &

Hum, I am not familar with sshd on z/OS UNIX. However, on Linux (and
thus likely on most UNIX implementations), it does not write to stdout
or stderr. Instead it writes to the UNIX SYSLOG daemon (don't get this
confused with the JES SYSLOG that you're used to!). There should be a
parameter in /etc/ssh/sshd_config which would look something like:

SyslogFacility ?????

Where there ???? is a valid "facility" in "SYSLOGD" (the UNIX SYSLOG
daemon). This relates back to the SYSLOGD entry that I showed in a
previous email. How to set up the parameter file for SYSLOGD is
documented in the "Communications Server IP Configuration Reference"

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B441/2.13

Once that is set up, all "messages" are sent where ever the SYSLOGD
daemon is set up to send them. This can easy vary by installation. Most
of the time, I have seen them in a file in the /var/log subdirectory. On
my home Linux system, it happens to be /var/log/secure. Again, this file
varies by installation.

If you don't have SYSLOGD set up, then the messages are simply
discarded, quietly.

Have you tried the MVS-OE mailing list? It might be more in their area
of expertise.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to