Skip to content

Instantly share code, notes, and snippets.

@cap10morgan
Created February 7, 2014 00:15
Show Gist options
  • Save cap10morgan/8855187 to your computer and use it in GitHub Desktop.
Save cap10morgan/8855187 to your computer and use it in GitHub Desktop.
inside a container, SSH'd in via sshd running under supervisord
ubuntu@5bb534e62eb4:~$ ls -la
total 32
drwxr-xr-x 9 ubuntu ubuntu 4096 Feb 6 08:44 .
drwxr-xr-x 9 root root 4096 Feb 6 08:41 ..
-rw------- 1 root root 94 Feb 6 08:44 .bash_history
-rw-r--r-- 1 ubuntu ubuntu 220 Mar 30 2013 .bash_logout
-rw-r--r-- 1 ubuntu ubuntu 3637 Mar 30 2013 .bashrc
drwx------ 2 ubuntu ubuntu 4096 Feb 6 08:41 .cache
-rw-r--r-- 1 ubuntu ubuntu 675 Feb 6 08:43 .profile
drwx------ 2 ubuntu ubuntu 4096 Feb 6 08:44 .ssh
ubuntu@5bb534e62eb4:~$ cd .ssh
-bash: cd: .ssh: Permission denied
ubuntu@5bb534e62eb4:~$ who am i
ubuntu pts/0 Feb 6 08:41 (172.17.42.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment