로딩
요청 처리 중입니다...

루트 권한 없이 ssh 열기

 루트 권한 없이 ssh 열기

#!/bin/bash mkdir ${HOME}/custom_ssh ssh-keygen -f ${HOME}/custom_ssh/ssh_host_rsa_key -N '' -t rsa ssh-keygen -f ${HOME}/custom_ssh/ssh_host_dsa_key -N '' -t dsa cat << EOF > ${HOME}/custom_ssh/sshd_config Port 9722 HostKey ${HOME}/custom_ssh/ssh_host_rsa_key HostKey ${HOME}/custom_ssh/ssh_host_dsa_key PidFile ${HOME}/custom_ssh/sshd.pid ChallengeResponseAuthentication no PasswordAuthentication yes UsePAM yes EOF /usr/sbin/sshd -f ${HOME}/custom_ssh/sshd_config &...

# sshd