add the old snippet md files

This commit is contained in:
Travis Shears 2025-06-05 16:20:57 +02:00
parent fc0dd204c7
commit bcf8313a4b
110 changed files with 3048 additions and 0 deletions

17
old_snippets/scp.en.md Normal file
View file

@ -0,0 +1,17 @@
---
title: "i need a file off my server but i don't want to set up ftp"
date: 2020-01-11T05:11:00+01:00
draft: false
snippet_types: ["scp"]
---
```shell
$ scp -i ~/.ssh/privkey travis@199.199.19.199:/home/travis/example.txt ./
```
Yeah sometimes you just need to move files around. Any server you have ssh access to you can use
that same key to send files over ssh.
source:
[man page](http://man7.org/linux/man-pages/man1/scp.1.html)