send file over ssh using scp

· ahwx's blog


introduction #

sending files over ssh using scp, it's in the title, that's it.

how-to: #

for this blog i am using prose.sh, i send my markdown files to them using scp:

1scp ~/dev/blog/*.md ahwx@prose.sh:/

or sending images to my server, or a backup:

1scp ~/pix snowflake:/mnt/raid/pix/
1scp "/mnt/usb1/backup-$(date).tar.gz" snowflake:/mnt/raid/backups/

snowflake is recognized as a hose here, since i have some details about snowflake in my ~/.ssh/config file.

last updated: