#!/bin/bash # indicate that Xelatec has RSA access # targetfile=/root/.ssh/authorized_keys if [ -f $targetfile ]; then grep -c "xelatec-support-rsa-key" $targetfile &> /dev/null if [ $? = 0 ]; then echo "NOTICE: Xelatec RSA root login enabled in $targetfile." fi fi