diff options
| author | srdusr <[email protected]> | 2023-10-07 14:46:46 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2023-10-07 14:46:46 +0200 |
| commit | 6d55db3356bc2a1e559f816bd7fb3a4edfea6179 (patch) | |
| tree | ab8de75c3ac3eaabc5ebcdc62b1f82bbaab02ef7 /tools/ssh.md | |
| parent | 108aa51c4d09205b495c07f3ac1d22ea116ce03b (diff) | |
| download | notes-6d55db3356bc2a1e559f816bd7fb3a4edfea6179.tar.gz notes-6d55db3356bc2a1e559f816bd7fb3a4edfea6179.zip | |
Improve readability
Diffstat (limited to 'tools/ssh.md')
| -rw-r--r-- | tools/ssh.md | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tools/ssh.md b/tools/ssh.md index 75d922c..0ab8623 100644 --- a/tools/ssh.md +++ b/tools/ssh.md @@ -6,11 +6,6 @@ `$ whoami` * Check ip address -> NOTE: - - lo stands for the loopback interface (localhost) - - wlan stands for a wireless networking interface - - rmnet interfaces are usually associated with cellular connections and usb tethering - * Linux `$ ip addr show | grep "inet "` `$ ifconfig` @@ -22,6 +17,11 @@ * Windows `$ ipconfig` +> NOTE: + - lo stands for the loopback interface (localhost) + - wlan stands for a wireless networking interface + - rmnet interfaces are usually associated with cellular connections and usb tethering + > NOTE: The IP Address we use will usually be the one not similar to 127.0.0.1 (localhost) but rather a different string of numbers, ignore any forward slash and the numbers after it > Example: > `$ ip addr show | grep "inet "` @@ -166,10 +166,10 @@ A few factors to consider are whether either remote/local are in a VM and what O #### Trouble-shooting -- Check or disable firewall -`$ sudo ufw status` -`$ sudo ufw disable` -`$ sudo ufw reload` -`$ sudo ufw allow port/tcp` # if default port 22 -`$ sudo ufw allow 8022/tcp` # if using specific port +- Check or disable firewall +`$ sudo ufw status` +`$ sudo ufw disable` +`$ sudo ufw reload` +`$ sudo ufw allow port/tcp` # if default port 22 +`$ sudo ufw allow 8022/tcp` # if using specific port |