rice/lab/scripts/sftp.sh

13 lines
134 B
Bash
Raw Normal View History

2024-02-12 01:11:45 +00:00
#!/bin/sh
set -x
set -e
keyfile=./ssh/keys/files/files
sftp -i $keyfile \
-o UserKnownHostsFile=ssh/hosts \
files@192.168.1.23