Skip to content

[Regression] v7.7.0.0 - SCP fails when using bash as alternative shell #1165

Closed
@hugginsa

Description

@hugginsa

If it is a terminal issue then please go through wiki
https://github.com/PowerShell/Win32-OpenSSH/wiki/TTY-PTY-support-in-Windows-OpenSSH

"OpenSSH for Windows" version
7.7.0.0

Server OperatingSystem
Windows 10 Pro

Client OperatingSystem
Windows 8 Pro

What is failing
When server uses either Cygwin bash or Git for Windows bash as the alternative shell, scp does not execute. Message in log when debugging is:

debug1: Executing command: "D:\\cygwin64\\bin\\bash.exe" -c "D:\\Apps\\OpenSSH\\OpenSSH-Win64\\scp -t path_of_file_being_copied"

Previous version 7.6.1.0 did not have this issue and successfully copies.

Expected output
A successful copy operation

Actual output

/usr/bin/bash: D:AppsOpenSSHOpenSSH-Win64scp: command not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions