Fixed IPv6 configuration

Former-commit-id: 1a67fee5b7398b0e720e4e2addd847525c1d7844 [formerly 8b0b802dfd]
Former-commit-id: 4a039a911e0155baf624712a1b3886302465cb65
This commit is contained in:
2023-02-15 13:36:20 -05:00
parent 164c719b90
commit ff1c984024
+1 -1
View File
@@ -301,7 +301,7 @@ def tweak(): # runs configuration wizard
# ssh ip+port configuration
_iport = str(input(f"{_divider}example inputs:\n\n ipv4: 10.10.10.10:22\n ipv6: [2000:2000:2000:2000:"
f"2000:2000:2000:2000]:22\n domain: mydomain.com:22\n\nip and ssh port of sshyp server: "
)).rsplit(':')
)).lstrip('[').replace(']', '').rsplit(':', 1)
# ssh user configuration
_username_ssh = str(input('\nusername of the remote server: '))