arttuladhar
1/2/2018 - 9:49 PM

SCP Hacks

SCP Hacks

```bash
scp -i ~/.ssh/pin-ost-dev.pem test.zip user@server
```

```bash
user=art
ip=192.168.1.1
command="cat"
ssh -i ~/.ssh/pin-ost-dev.pem -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $user@$ip $command```