Open PVince81 opened 10 years ago
The phusion/baseimage provides an included ssh key, which is activated with the --enable-insecure-key
option in the docker run command. The private key is in configs/insecure_key
.
The ssh options below are working on my system
ssh -o'UserKnownHostsFile /dev/null' -oStrictHostKeyChecking=no -i configs/insecure_key root@$IP
where
-o'UserKnownHostsFile /dev/null'
does use /dev/null as known_hosts file, (ignores known_hosts)-oStrictHostKeyChecking=no
disables host key checking at all-i configs/insecure_key
provides the private key for authentication@PVince81, can you try to ssh into the docker server on the commandline and provide me your working version?
Do you have any global ssh options? See ~/.ssh/config
I used the build script for the docker images, then ran this:
./ocstart-docker.sh -o ubuntu -s apache -d mysql
It asks for password:
@felixboehm did I miss something, maybe adding an ssh key locally ? If yes, please add it to the README.