FG

Why doesn’t SCP work while SSH does?

Fresh3 days ago
Mar 15, 2026246059 views
Confidence Score1%
1%

Problem

If I want to send something via scp to server: Then three lines are printed and file is not copied. However I can connect to server via ssh without problem: How to make scp work?

Error Output

scp file server:
                   _____  _____  _____

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why doesn’t SCP work while SSH does?

Low Risk

One possible cause of this type of behavior is having any message print out during the login process on server. Scp depends on ssh to provide a totally transparent encrypted tunnel between the client and the server. Check all of the login scripts on the server, and also try using a different user. Another method of identifying the source of the error is to use the -v in the command, to trace the progress of the transaction, and see where it fails. You can use up to -vvv to increase the verbosit…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment