Motion, keyboard commands and shortcuts for VI Improved
This file contains 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
#!/bin/bash | |
# Set hostname | |
hostnamectl set-hostname router | |
# view interfaces | |
ip addr show | |
# enable ip forwarding w/ out reboot, but not persistent after reboot | |
sysctl -w net.ipv4.ip_forward=1 |
This file contains 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
#!/usr/local/bin/python3 | |
# Copyright 2015-present, Facebook, Inc. | |
# All rights reserved. | |
# | |
# This source code is licensed under the license found in the | |
# LICENSE-examples file in the root directory of this source tree. | |
""" SSH Connection Handler for Network Devices |