이번엔 H3lix다.
SSH 가 22로 되지 않는 문제는 SSH를 만들고, PORT를 2222로 하고, user privilege `~~ 오류가 났을 때, 아래와 같이 하는 방식이 있다. 블루투스 키보드 있으면 시간을 줄일 수 있었을 텐데, mtermial을 소프트키보드로 하다보니 오타가 많이나서 오래걸렸다.
opensshd 설치, network commands, adv-command 설치 하면 ...........
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
해결 방안
ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
ssh-keygen -A
/etc/ssh/sshd_config
Port 2222
UsePrivilegeSeparation no
# echo -e "Port 2222\nUsePrivilegeSeparation no" > /etc/ssh/sshd_config
# /usr/sbin/sshd
첨부는 Clutch2 이다.
# chmod 755 Clutch2
# ./Clutch2 -i
# ./Clutch2 -d [no]
개행이 안 되면 두 번 입력
# echo -e "Port 2222" > /etc/ssh/sshd_config
# echo -e "UsePrivilegeSeparation no" >> /etc/ssh/sshd_config
댓글 달기