Digital Ocean 이용중인데, FTP 는 접속은 되나 맥에서 SSH 접속은 안되는 문제 발생
Ssh a@host 하면
connection Closed by 0.0.0.0(ip) 라는 메세지와 접속이 안됨
재부팅하니 해결은 됐으나 DigitalOcean에 해결법이 있어 메모
DigitalOcean - 계정 - Web Console 에서 해결
Log in to your droplet via the console and run these commands:
ssh-keygen -t dsa -N "" -f /etc/ssh/ssh_host_dsa_key ssh-keygen -t rsa -N "" -f /etc/ssh/ssh_host_rsa_key ssh-keygen -t ecdsa -N "" -f /etc/ssh/ssh_host_ecdsa_keyif that doesn't work (i.e. you still can't type /), try running this command instead:
dpkg-reconfigure openssh-server
출처 : https://www.digitalocean.com/community/questions/ssh_exchange_identification-connection-closed-by-remote-host
'공부 > Linux' 카테고리의 다른 글
Ubuntu Subdomain 설정하기(서브도메인) (0) | 2015.09.26 |
---|---|
Ubuntu14.04 기본적인세팅(디지털오션기준) (0) | 2015.09.19 |
user ID 생성 및 sudo 권한 부여 (0) | 2014.09.22 |
[Ubuntu] ssh 기본 포트 외에 다른 포트 열기 (0) | 2013.11.08 |
우분투 gd 라이브러리 설치 (0) | 2013.11.06 |