[Lxc-users] trouble with remote mounts, ssh and ftp clients from inside container behind private bridge & NAT
Dan Kegel
dank at kegel.com
Fri Nov 9 22:33:31 UTC 2012
> SSH out from the guest consistently fails with a "Host key verification failed"
That might just mean .ssh/known_hosts doesn't have the host in it
inside the container.
Maybe you want -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ?
> mount -o bind /var/lib/lxc/guest/rootfs/mnt/xyz /var/lib/lxc/guest/rootfs/mnt/xyz
> brings the mount into visibility on the guest.
IIRC, that failed with NFS for me. You may be lucky you're using CIFS.
More information about the lxc-users
mailing list