Remote Port Tunneling 1. ssh connection 1-1 Remote ssh 외부 클라이언트 C ----> 중계서버 B > HOME/.ssh/authorized_keys1-2-3 login Private key는 소유주만 사용해야함. 권한변경해서 사용할 것 chmod 400 id_rsa ssh -i ~/.ssh/id_rsa USER@HOST -p PORT2. Check ssh running Count running specific process emma_check=`ps -ef | grep -v "grep" | grep "ssh -fNT -g" | wc -l` if emma_check ==0: connect ssh else: do nothing3. logging echo "text"..