Created
February 8, 2018 07:32
-
-
Save morris821028/9d8f866a147d30e0fc17621f995ec52c to your computer and use it in GitHub Desktop.
View GUI Application: Docker for Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
apt-get install openssh-server | |
mkdir /var/run/sshd | |
chmod 0755 /var/run/sshd | |
/usr/sbin/sshd | |
useradd --create-home --shell /bin/bash --groups sudo username ## includes 'sudo' | |
passwd username ## Enter a password | |
apt-get install x11-apps ## X11 demo applications (optional) | |
ifconfig | awk '/inet addr/{print substr($2,6)}' ## Display IP address (optional) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment