Fix typos

This commit is contained in:
a1346054 2021-09-22 12:07:24 +00:00
parent 7fb0f0a81b
commit ef244a5490
No known key found for this signature in database
GPG Key ID: D149AD21DC40440C
6 changed files with 8 additions and 8 deletions

View File

@ -133,7 +133,7 @@ Fixed
Added Added
~~~~~ ~~~~~
* doas support as replacmeent for sudo on OpenBSD. * doas support as replacement for sudo on OpenBSD.
* Added ChromeOS section to documentation (#262) * Added ChromeOS section to documentation (#262)
* Add --no-sudo-pythonpath option * Add --no-sudo-pythonpath option

View File

@ -5,7 +5,7 @@ Installation
pip install sshuttle pip install sshuttle
- Debain package manager:: - Debian package manager::
sudo apt install sshuttle sudo apt install sshuttle

View File

@ -99,7 +99,7 @@ access to sshuttle. The default is `sshuttle_auto`::
sshuttle --sudoer --sudoers-filename sshuttle_auto_tommy sshuttle --sudoer --sudoers-filename sshuttle_auto_tommy
You can also see what configuration will be added to your system without You can also see what configuration will be added to your system without
modifying anything. This can be helpfull is the auto feature does not work, or modifying anything. This can be helpful if the auto feature does not work, or
you want more control. This option also works with `--sudoers-username`. you want more control. This option also works with `--sudoers-username`.
`--sudoers-filename` has no effect with this option:: `--sudoers-filename` has no effect with this option::

View File

@ -164,7 +164,7 @@ class MultiListener:
try: try:
self.v4.listen(backlog) self.v4.listen(backlog)
except socket.error as e: except socket.error as e:
# on some systems v4 bind will fail if the v6 suceeded, # on some systems v4 bind will fail if the v6 succeeded,
# in this case the v6 socket will receive v4 too. # in this case the v6 socket will receive v4 too.
if e.errno == errno.EADDRINUSE and self.v6: if e.errno == errno.EADDRINUSE and self.v6:
self.v4 = None self.v4 = None

View File

@ -126,7 +126,7 @@ def flush_systemd_dns_cache():
# #
# This code is supposed to clean up after itself by deleting its rules on # This code is supposed to clean up after itself by deleting its rules on
# exit. In case that fails, it's not the end of the world; future runs will # exit. In case that fails, it's not the end of the world; future runs will
# supercede it in the transproxy list, at least, so the leftover rules # supersede it in the transproxy list, at least, so the leftover rules
# are hopefully harmless. # are hopefully harmless.
def main(method_name, syslog): def main(method_name, syslog):
helpers.logprefix = 'fw: ' helpers.logprefix = 'fw: '

View File

@ -61,11 +61,11 @@ def parse_hostport(rhostport):
if ":" in host: if ":" in host:
# IPv6 address and/or got a port specified # IPv6 address and/or got a port specified
# If it is an IPv6 adress with port specification, # If it is an IPv6 address with port specification,
# then it will look like: [::1]:22 # then it will look like: [::1]:22
try: try:
# try to parse host as an IP adress, # try to parse host as an IP address,
# if that works it is an IPv6 address # if that works it is an IPv6 address
host = str(ipaddress.ip_address(host)) host = str(ipaddress.ip_address(host))
except ValueError: except ValueError:
@ -150,7 +150,7 @@ def connect(ssh_cmd, rhostport, python, stderr, options):
# return error code 127. # return error code 127.
# #
# (2) python3 or python exists in the PATH and is # (2) python3 or python exists in the PATH and is
# executable. If they aren't, then exec wont work (see (4) # executable. If they aren't, then exec won't work (see (4)
# below). # below).
# #
# (3) In /bin/sh, that we can redirect stderr in order to # (3) In /bin/sh, that we can redirect stderr in order to