TI dm355에 sshd를 설치하라고 해서, 자료를 찾아봤다
우선 TI에서 제공해준 montavista target 을 보니 sshd binary와
ssh의 key를 generation 하는 ssh-keygen 파일이 있어 다운로드 받아 컴파일 해야하는 귀찮음을 줄여주었다
-------------------------------------------------------------
ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ""
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
-------------------------------------------------------------
2. 생성후에
/etc/rc.d/init.d로 이동하여
./ssh(또는 sshd) start
하면 시작되는데
config 역시 수정을 해줘야 client side에서 바로 접속이 종료되는 현상을 막을 수 있다
게시물의 끝단의 설명
-------------------------------------------------------------
A basic /etc/ssh/sshd_config should have..
Protocol 2
PasswordAuthentication no
UsePAM yes
Protocol 2
PasswordAuthentication no
UsePAM yes
-------------------------------------------------------------
아래 설정부분을 고쳐줬더니 이쁘게 실행이 되었다.
'IT관련 > dm355' 카테고리의 다른 글
dm355 mmc/sd check point (0) | 2009.02.27 |
---|---|
dm355 sound programming (0) | 2009.02.27 |
dm355 - nvp7000 video 4 linux 2 driver 구현 (0) | 2009.02.27 |
board debugging (dm355) (0) | 2009.02.27 |
dm355 (u-boot 1.2.0)에 512 byte page size nand yaffs 올리기 (2) | 2009.02.27 |