add $tr command

change $sed to $tr in ssh-keyscan command because on my hosts (CentOS 6.5, 6.6) not work with sed command