mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-30 22:06:28 -04:00
Fixed IPv6 configuration
This commit is contained in:
+1
-1
@@ -301,7 +301,7 @@ def tweak(): # runs configuration wizard
|
|||||||
# ssh ip+port configuration
|
# 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:"
|
_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: "
|
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
|
# ssh user configuration
|
||||||
_username_ssh = str(input('\nusername of the remote server: '))
|
_username_ssh = str(input('\nusername of the remote server: '))
|
||||||
|
|||||||
Reference in New Issue
Block a user