add the old snippet md files
This commit is contained in:
parent
fc0dd204c7
commit
bcf8313a4b
110 changed files with 3048 additions and 0 deletions
17
old_snippets/scp.en.md
Normal file
17
old_snippets/scp.en.md
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue