Scripts for setting up security features and convenient utilities on Operating Systems.
- Security
- ssh
- change port to 60294
- PermitRootLogin without-password
- PasswordAuthentication no
- ssh
- Tools
- vim, curl, wget, tmux, net-tools, git, zsh, rsync, git, gcc, make, openssl, jdk8.
- oh-my-zsh: https://github.com/ohmyzsh/ohmyzsh.
- zsh-autosuggestions: https://github.com/zsh-users/zsh-autosuggestions.
- Change tmux shortcut from C-b to C-v to resolve conflict with cursor back shortcut of bash/zsh.
- docker & docker-compose: https://www.docker.com/
- First of all, setup a ssh key, otherwise you will no longer be able to log in to ssh because of security settings. The easiest way is to use ssh-copy-id command
- The ssh port will be changed from 22 to 60294 for security concern.
- macOS
curl -fsSL "https://github.com/clanceyz/OSEnvScripts/raw/master/macos.sh" | sh
- Ubuntu
curl -fsSL "https://github.com/clanceyz/OSEnvScripts/raw/master/ubuntu.sh" | sudo sh