Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Require pre-shared key with SecureVNC?

Should you have problems with the DSM plugin, here's the place to look for help or report issues
Post Reply
User avatar
Zane
8
8
Posts: 18
Joined: 2006-05-26 14:44
Contact:

Require pre-shared key with SecureVNC?

Post by Zane »

Hi,
is it possibile to REQUIRE the use of a pre-shared key with SecureVNC and refuse any other connection?

Thanks :)
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Require pre-shared key with SecureVNC?

Post by YY »

In normal connection -- YES


In reverse connection -- NO.
If the key is omitted at server end, the listening viewer will still accept the connection without notification (still working under encryption, but not using the original pre-shared key.


Reference [topic=27039]Possible Bug ?? SecureVNC -- Client Authentication Keys[/topic] for more detail.
User avatar
Zane
8
8
Posts: 18
Joined: 2006-05-26 14:44
Contact:

Re: Require pre-shared key with SecureVNC?

Post by Zane »

Thanks YY,
I'm talking about direct, client-initiated connection.

In this scenario, how can I configure the server to refuse the connection if the client doesn't provide the pre-shared key (instead of generate a new one on the fly)?
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Require pre-shared key with SecureVNC?

Post by YY »

Not necessary to config the server to reject such a connection

For a server using SecureVNC with xxxx_Server_ClientAuth.pubkey,
a viewer without the corresponding xxxx_Viewer_ClientAuth.pkey is not able to establish a connection with that server. After input the password, an error message will be returned.
User avatar
Zane
8
8
Posts: 18
Joined: 2006-05-26 14:44
Contact:

Re: Require pre-shared key with SecureVNC?

Post by Zane »

That worked! I was renaming the files keeping only the "foo_" part as a match.

As soon as I used the original filename, the server started to reject any other client.

Thank you again!
Post Reply