C# Renci SSH.NET SFTPClient – OpenSSH (Windows & CentOS) Is it possible to get the ChRootDirectory value from the sshd_config file

  asp.net-core, c++, centos, openssh, windows

Is is possible to get the ChRootDirectory setting set in the sshd_config file on the remote server (Both Windows version and Linux Version). If so, how do we do it in C#

SFTP: OpenSSH 
Windows: Server 2019 64bit  
Linux: CentOS 8
Programming Language: C#, ASP.NET Core 3.1
SDK: Renci SSH.NET
IDE: VS2019

Any help is appreciated.
Thanks in advance.

Source: Windows Questions

LEAVE A COMMENT