From fedc789def302d98211193f2cc890b477683ecf8 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Tue, 7 Dec 2021 20:32:48 +0200 Subject: [PATCH] unscp alias. Unsecure copy. In the spirit of unssh. Don't validate or save the host keys. --- .bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.bashrc b/.bashrc index a4c766e..c07c606 100644 --- a/.bashrc +++ b/.bashrc @@ -170,6 +170,7 @@ alias torrent_on='ssh kodi.shore.co.il docker container unpause transmission_rss # shellcheck disable=SC2142 alias toupper='awk "{print toupper(\$0)}"' alias transmission-remote='forward kodi.shore.co.il 9091:localhost:9091 && transmission-remote' +alias unscp="scp -o \"UserKnownHostsFile /dev/null\" -o \"StrictHostKeyChecking no\"" alias unssh="ssh -o \"UserKnownHostsFile /dev/null\" -o \"StrictHostKeyChecking no\"" alias update-requirements='find -name "*requirements*.txt" -exec pur --requirement {} \;' alias venv='python3 -m venv' -- GitLab