title: SSH using putty into LXC container on ubuntu server
body: <p>I am going to be teaching someone how to use ubuntu and python and i wanted to set them up their own sandbox to play around with, so i used LXC and setup a container following this guide:</p>
  
  <p><a href="https://www.digitalocean.com/community/articles/getting-started-with-lxc-on-an-ubuntu-13-04-vps" rel="noreferrer">https://www.digitalocean.com/community/articles/getting-started-with-lxc-on-an-ubuntu-13-04-vps</a></p>
  
  <p>However, i have a problem, i am unable to SSH into that container using Putty. While i can use putty to SSH into my own box normally and then start an ssh within that, i will need to be there to log in. However, i want them to be able to login on their own.</p>
  
  <p>For obvious reasons, i don't want them to have access to the main box itself as i use it for work, so if they delete anything or cause problems i could be in trouble.</p>
  
  <p>i would like to simply set up the container that they can mess around in and run programs or move files or do whatever they please without messing up the main box, and then be able to log into it on their own without my interference.</p>
  
  <p>How would i go about doing that?</p>