From dbf6bdb3df958c6649422582073aee063389683c Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Wed, 25 Oct 2017 15:20:16 +0300 Subject: [PATCH] - Added shell alias for an unsecure SSH connection (unssh, no host key verification). - Use unsecure SSH connection to connect to Dojo boxes. --- .bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index fee5d13..5f45736 100644 --- a/.bashrc +++ b/.bashrc @@ -96,7 +96,8 @@ alias transmission-remote='ssh -fNo ExitOnForwardFailure=yes xbmc.shore.co.il && alias kpcli='kpcli --kdb ~/Documents/Database.kdbx' alias gen-mac="hexdump -n5 -e '\"02\" 5/1 \":%02X\" \"\\n\"' /dev/urandom" alias clean-swp="find \$HOME/ -name '*.swp' -delete" -alias boxssh="ssh -i \$HOME/.ssh/bullguard-box_rsa -l root -p 64222" +alias unssh="ssh -o \"UserKnownHostsFile /dev/null\" -o \"StrictHostKeyChecking no\"" +alias boxssh="unssh -i \$HOME/.ssh/bullguard-box_rsa -l root -p 64222" alias todo="vim \$HOME/Documents/TODO.yml" alias sudo="sudo " alias presentation='docker run -itv "$PWD:/project" adarnimrod/presentation' -- GitLab