I am trying to run this script -
#!/bin/bash
my_opts="-2 -o StrictHostKeyChecking=no -o FallBackToRsh=no -q -i /root/.ssh/identity"
alias ssh='ssh $my_opts'
type ssh
It is giving me the output as ssh is /usr/bin/ssh
. What needs to be changed so that the output is - ssh -2 -o 'StrictHostKeyChecking no' -o 'FallBackToRsh no' -i /root/.ssh/identity
Thanks in advance.