What happens if i connect to unknown VPS?
Well, if you are talking about a VPS (Virtual Private Server), then you probably should not ask on Glitch because some people could consider it off-topic.
If it something else, then can you explain what you mean and show a screenshot?
What do you mean by this? Are you asking what will happen if you try to ssh to it on the glitch console.
The worst case is that someone gets your IP address and you could potentially get hacked.
Unless you are running a webserver, it may not be that big of a deal if somebody gets your IP.
Especially because you probably are using a dynamic IP, that changes from time to time by your ISP