💾 Archived View for envs.net › ~alephalpha0 › gemlog › 2021-03-18-scp.gmi captured on 2021-12-05 at 23:47:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-04)

-=-=-=-=-=-=-

2021-03-18 _ new command (scp)

recently, i have been spending more time in the terminal on my phone creating html and gemini documents. uploading them has been somewhat of a pain, what with hopping back and forth between apps to accomplish that. plus, there doesn't seem to be any decent free sftp apps for android.

i researched a bit and came across an incredibly useful and easy command to do what i needed. scp (secure copy) is a command to move files back and forth from local and remote machines using ssh.

basic use is thus:

scp [-i identity_file] [-r for recursive] [path to local file] [username@]host:[path to remote folder]
scp [-i identity_file] [-r for recursive] [username@]host:[path to remote file] [path to local folder]

This is not exhaustive by any means. Just the usage that I'm currently getting out of the command.

If you have OpenSSH installed then your good friend will be:

man scp