Skip to content

Instantly share code, notes, and snippets.

@stories2
Last active July 9, 2018 08:15
Show Gist options
  • Select an option

  • Save stories2/ec21338deb3a8464c534e32773ada56c to your computer and use it in GitHub Desktop.

Select an option

Save stories2/ec21338deb3a8464c534e32773ada56c to your computer and use it in GitHub Desktop.
Ubuntu install

After boot

Check network

ifconfig -a

Check update & install upgrade

apt-get update
apt-get upgrade

Check is ssh installed

netstat -ntlp | sshd
service ssh status

Install sshd service

apt-get install openssh-server

Restart sshd service

service ssh restart
service ssh status

Check process TCP network status

netstat -nap | grep tcp

How to connect to server using ssh

ssh <USER ID>@<SERVER IP ADDRESS>

Example

sssh [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment