FG
💻 Software

How to download a file from the command line? via ssh?

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

Problem

I want to download files from a remote server to my local drive, and do it from the command line. I also want to be able to do this over SSH. How can I do this? Note: the remote server is Ubuntu, the local is Mac OS X

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to download a file from the command line? via ssh?

Low Risk

Use -command, it runs on top of SSH. Example: It also works another way round Username, path, and filename can be omitted (but not the !). As Iain said, SFTP works also, but I tend to favor for its -like usage.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment