Skip to content

Commit ef244a5

Browse files
committed
Fix typos
1 parent 7fb0f0a commit ef244a5

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

CHANGES.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Fixed
133133

134134
Added
135135
~~~~~
136-
* doas support as replacmeent for sudo on OpenBSD.
136+
* doas support as replacement for sudo on OpenBSD.
137137
* Added ChromeOS section to documentation (#262)
138138
* Add --no-sudo-pythonpath option
139139

docs/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Installation
55

66
pip install sshuttle
77

8-
- Debain package manager::
8+
- Debian package manager::
99

1010
sudo apt install sshuttle
1111

docs/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ access to sshuttle. The default is `sshuttle_auto`::
9999
sshuttle --sudoer --sudoers-filename sshuttle_auto_tommy
100100

101101
You can also see what configuration will be added to your system without
102-
modifying anything. This can be helpfull is the auto feature does not work, or
102+
modifying anything. This can be helpful if the auto feature does not work, or
103103
you want more control. This option also works with `--sudoers-username`.
104104
`--sudoers-filename` has no effect with this option::
105105

sshuttle/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def listen(self, backlog):
164164
try:
165165
self.v4.listen(backlog)
166166
except socket.error as e:
167-
# on some systems v4 bind will fail if the v6 suceeded,
167+
# on some systems v4 bind will fail if the v6 succeeded,
168168
# in this case the v6 socket will receive v4 too.
169169
if e.errno == errno.EADDRINUSE and self.v6:
170170
self.v4 = None

sshuttle/firewall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def flush_systemd_dns_cache():
126126
#
127127
# This code is supposed to clean up after itself by deleting its rules on
128128
# exit. In case that fails, it's not the end of the world; future runs will
129-
# supercede it in the transproxy list, at least, so the leftover rules
129+
# supersede it in the transproxy list, at least, so the leftover rules
130130
# are hopefully harmless.
131131
def main(method_name, syslog):
132132
helpers.logprefix = 'fw: '

sshuttle/ssh.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ def parse_hostport(rhostport):
6161
if ":" in host:
6262
# IPv6 address and/or got a port specified
6363

64-
# If it is an IPv6 adress with port specification,
64+
# If it is an IPv6 address with port specification,
6565
# then it will look like: [::1]:22
6666

6767
try:
68-
# try to parse host as an IP adress,
68+
# try to parse host as an IP address,
6969
# if that works it is an IPv6 address
7070
host = str(ipaddress.ip_address(host))
7171
except ValueError:
@@ -150,7 +150,7 @@ def connect(ssh_cmd, rhostport, python, stderr, options):
150150
# return error code 127.
151151
#
152152
# (2) python3 or python exists in the PATH and is
153-
# executable. If they aren't, then exec wont work (see (4)
153+
# executable. If they aren't, then exec won't work (see (4)
154154
# below).
155155
#
156156
# (3) In /bin/sh, that we can redirect stderr in order to

0 commit comments

Comments
 (0)