Skip to content

Instantly share code, notes, and snippets.

@arifrohim
arifrohim / sshd_config
Created January 29, 2018 15:44
root gc sshdconfig
# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
#!/bin/bash
# go to root
cd
# server update & requesting apps install
apt-get -y install git build-essential cmake libuv1-dev libmicrohttpd-dev software-properties-common;
# adding gcc repository
add-apt-repository -y ppa:jonathonf/gcc-7.1;