Hi,

I see that sshd does a chdir to "/" in sshd.c.The comment says that
/* Chdir to the root directory so that the current disk can be
unmounted if desired. */

Is it safe to change the cwd of sshd to another location so that sshd
doesn't dump its core in "/".I cant use a system wide setting
currently to specify the core file path.If there is any way to specify
a process specific core file path please let me know.


Regards
Reji Thomas