FG
💻 Software

scp protocol error: bad mode

Fresh5 days ago
Mar 15, 202611569 views
Confidence Score0%
0%

Problem

when I try a scp transfer I get this error: PD: I can establish a ssh connection.

Error Output

protocol error: bad mode

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: scp protocol error: bad mode

Low Risk

So, this is a bit of question necromancy, but since I got here, and then realised what the answer was after reading the first answer, I figured I'd put this here for other wayward souls. Because of the way scp works (over stdin/stdout over ssh AFAIK…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment