Table of Contents

Method GetHomeDirectoryAsync

Namespace
SshSharp.Sftp
Assembly
SshSharp.dll

GetHomeDirectoryAsync(CancellationToken)

The login directory: the server's home-directory extension when it has one, otherwise what . resolves to. In an OpenSSH ChrootDirectory session the extension answers the passwd home, outside the chroot; relative paths resolve from GetFullPathAsync(string, CancellationToken) of ..

public Task<string> GetHomeDirectoryAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<string>