windows xshell登录docker

xshell 远程连接dokcer https://blog.csdn.net/RamaYu/article/details/123065667

ubuntu重启sshd

service ssh restart
docker run -itd --name ubuntu --privileged f9a80a55f492

docker commit -a "ubuntu" -m "ubuntu" 724cfcd55f8d ubuntu:18.04

docker run -d -p2222:22 ubuntu:18.04 /usr/sbin/sshd -D

windows10环境下宿主机无法打通到容器ip https://blog.csdn.net/m0_37902494/article/details/128322049

ECDSA host key for ... has changed and you have requested strict checking.Host key verification fail

posted @ 2024-04-25 17:52  guanyubo  阅读(36)  评论(0)    收藏  举报