'2018/07'에 해당되는 글 2건

  1. 2018.07.04 Host key verification failed 대처
  2. 2018.07.03 Ubuntu 16.04 Docker 설치

Host key verification failed 대처

Talk/MAC 2018.07.04 08:51

ssh 접속할 때 'Host key verification failed.' 메시지가 보인다면


고민할 것 없이 sudo ssh-keygen -R <IP>




@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!

Someone could be eavesdropping on you right now (man-in-the-middle attack)!

It is also possible that a host key has just been changed.

The fingerprint for the ECDSA key sent by the remote host is

SHA256:xXxxx6M48JB4exxxx+ZHjlY3Abo1tDaPhiSw3xxxxxY.

Please contact your system administrator.

Add correct host key in /var/root/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in /var/root/.ssh/known_hosts:40

ECDSA host key for 192.168.56.112 has changed and you have requested strict checking.

Host key verification failed.



sudo ssh-keygen -R 192.168.56.112

'Talk > MAC' 카테고리의 다른 글

Host key verification failed 대처  (0) 2018.07.04
Mac 기반 개발을 위한 터미널 셋팅  (0) 2018.02.14
iTerm2 color  (0) 2016.06.28
Trackbacks 0 : Comments 0

Ubuntu 16.04 Docker 설치

Talk/ubuntu 2018.07.03 13:18


sudo apt-get update

sudo apt-get install apt-transport-https ca-certificates


sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D


sudo vim /etc/apt/sources.list.d/docker.list

deb https://apt.dockerproject.org/repo ubuntu-xenial main


sudo apt-get update


sudo apt-get purge lxc-docker


apt-cache policy docker-engine


sudo apt-get install linux-image-extra-$(uname -r)


sudo apt-get install docker-engine


sudo usermod -aG docker $USER


'Talk > ubuntu' 카테고리의 다른 글

Ubuntu 16.04 Docker 설치  (0) 2018.07.03
Ubuntu 사용자 계정에 ROOT 권한을  (0) 2015.07.16
Trackbacks 0 : Comments 0