forked from shaba/openuds
Fixed port error on spice tunnel
This commit is contained in:
parent
9560ee0699
commit
06b7b58dd2
@ -96,7 +96,7 @@ class TSPICETransport(BaseSpiceTransport):
|
|||||||
secure_port: str = con['secure_port'] or '-1'
|
secure_port: str = con['secure_port'] or '-1'
|
||||||
|
|
||||||
# Ticket
|
# Ticket
|
||||||
tunpass = ''.join(random.SystemRandom().choice(string.letters + string.digits) for _i in range(12))
|
tunpass = ''.join(random.SystemRandom().choice(string.ascii_letters + string.digits) for _i in range(12))
|
||||||
tunuser = TicketStore.create(tunpass)
|
tunuser = TicketStore.create(tunpass)
|
||||||
|
|
||||||
sshHost, sshPort = self.tunnelServer.value.split(':')
|
sshHost, sshPort = self.tunnelServer.value.split(':')
|
||||||
|
Loading…
Reference in New Issue
Block a user