I know this is probably google skills deficiency on my behalf but for the love of god I cant shell into a CentOS 7 container on an Ubuntu 17.04 host.
user@ubuntu1704:~$ lxc shell centos7 user@ubuntu1704:~$
absolutely nothing happens ... no error and I cant find a way to specify login user and password.
Here is how I launched the container
apt install yum lxc launch images:centos/7/amd64 centos7
it downloaded the image and launched it. info shows all is fine and has correct ip and everything. By default ssh connections refused (SELinux)
Please help!! very stuck!! Thanks alot !!
SSH is not enabled by default in the centos7 image here is the output of
ssh -vvv email@example.com OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: resolving "192.168.2.47" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to 192.168.2.47 [192.168.2.47] port 22. debug1: connect to address 192.168.2.47 port 22: Connection refused ssh: connect to host 192.168.2.47 port 22: Connection refused