PowerShell / PowerShell/Win32-OpenSSH

Seconds and milliseconds support in SFTP?

Open
#1,732 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

Please answer the following

"OpenSSH for Windows" version
((Get-Item (Get-Command sshd).Source).VersionInfo.FileVersion)

Get-Command : The term 'sshd' is not recognized as the name of a cmdlet, function, script file, or operable program. Ch
eck the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:13
+ ((Get-Item (Get-Command sshd).Source).VersionInfo.FileVersion)
+             ~~~~~~~~~~~~~~~~
	+ CategoryInfo          : ObjectNotFound: (sshd:String) [Get-Command], CommandNotFoundException
	+ FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand

Get-Item : Cannot bind argument to parameter 'Path' because it is null.
At line:1 char:12
+ ((Get-Item (Get-Command sshd).Source).VersionInfo.FileVersion)
+            ~~~~~~~~~~~~~~~~~~~~~~~~~
	+ CategoryInfo          : InvalidData: (:) [Get-Item], ParameterBindingValidationException
	+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.GetItemComm
   and

ssh -V gives

OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5

OpenSSH feature is installed in control panel in optional features

Server OperatingSystem

Unknown. When I check remote SFTP version I get

SSH-2.0-XXXXX-SFTP-Proxy-1.4.6-0

Client OperatingSystem

Windows 10 Enterprise

What is failing

Seconds and milliseconds support

Expected output

Timestamp with seconds and milliseconds

Actual output

image

Is OpenSSH supports seconds and milliseconds?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported timestamp output on Windows 10 Enterprise with OpenSSH_for_Windows_7.7p1 and the listed SFTP proxy, then compare it with the SFTP timestamp behavior expected by the issue. Done means establishing whether seconds and milliseconds are supported in this client/server combination and documenting or implementing the required behavior.

Written by the indexing model from the issue text.

Assessment

Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.