Coder Social home page Coder Social logo

ubuntunote's Introduction

UbuntuNote

VPN

Instruction: https://notthebe.ee/blog/creating-your-own-vpn/

$ wget https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh
$ sudo bash openvpn-install.sh

get ssh key (ensure that you already have ssh keys)

ssh-copy-id -p 22 root@ip 

sudoers

sudo visudo -f /etc/sudoers # username ALL=(ALL:ALL) ALL

adduser bill sudo
deluser bill sudo

ssh copy

scp -P 22 username@b:/path/to/file /path/to/destination

heavy

du -aBM 2>/dev/null | sort -nr | head -n 50 | more

change ssh setting

vi /etc/ssh/sshd_config
'
Port 69 # ufw allow 69/tcp
PasswordAuthentication no
PermitRootLogin no
'
sudo systemctl restart ssh

check auth log

sudo cat /var/log/auth.log

port

ufw allow 22
ufw status

zip

zip -r foo.zip .
unzip file.zip

ubuntunote's People

Contributors

phudinhtruongk18 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.