rustdesk / rustdesk-server

RustDesk Server Program
https://rustdesk.com/server
GNU Affero General Public License v3.0
5.96k stars 1.22k forks source link

no shell in latest version? (docker exec -ti hbbr /bin/bash not possible) #362

Open kangaroo72 opened 5 months ago

kangaroo72 commented 5 months ago

I'm unable to enter the containers hbbr/hbbs in the latest version from rustdesk-server Is it a bug or a feature?

paspo commented 5 months ago

a feature: it reduces attack surface. The "classic" docker images are based on "scratch" images, which means there's practically zero overhead. We can do that because Rustdesk Server binaries are statically linked and don't need extra dependencies. If for some reason a Rustdesk Server binary gets compromised/used to get into the server, there's no other binary in that image to exploit, so the effectiveness of the attack is greatly reduced.

hueldoeu commented 5 months ago

you should start an easy tutorial to start our own rustdesk-server. this week rustdesk was totally unuseable for the servers (2) being offline. i thought it was because of my router-configuration but no! it was your servers.

kangaroo72 commented 5 months ago

I never used the public servers. This is the biggest advantage of RD - the selfhosted way. Months ago, I used the native way, but today I'm using the docker-compose.yml The guide is okay. All you need, is here

hueldoeu commented 4 months ago

I never used the public servers. This is the biggest advantage of RD - the selfhosted way. Months ago, I used the native way, but today I'm using the docker-compose.yml The guide is okay. All you need, is here

can i use your server so far until i have set up my own?

kangaroo72 commented 4 months ago

Sorry, I don't want to use my server for public reasons.

hueldoeu commented 4 months ago

Sorry, I don't want to use my server for public reasons.

would you help me through skype and any remote desktop software? i can pay you.

kangaroo72 commented 4 months ago

Where're you comin' from? I'm planning a guide in german. Maybe this will help you? What Operating System/Hardware are you using?

hueldoeu commented 4 months ago

Where're you comin' from? I'm planning a guide in german. Maybe this will help you? What Operating System/Hardware are you using?

yes germany. Windows Server 2022. ryzen 7900x. 64 gb ram. i can use the same system with win10/11 too.

kangaroo72 commented 4 months ago

Hmm... I don't have a glue from a windows-setup. Is there a running docker-system? If so, U should use the yml-file above. But there're are various things. Maybe dyn-dns e. g. Too many unknown variables, sorry. I'm working only on Linux/Mac. My guide is planned for Linux.

hueldoeu commented 4 months ago

Hmm... I don't have a glue from a windows-setup. Is there a running docker-system? If so, U should use the yml-file above. But there're are various things. Maybe dyn-dns e. g. Too many unknown variables, sorry. I'm working only on Linux/Mac. My guide is planned for Linux.

ok then. write it for linux, i will adapt it to the newest linux mint.

kangaroo72 commented 4 months ago

I don't know when I'm writing (I'm very busy). But the most important is the yml-file above. I will not explain, how to setup docker, 'cause it takes too much time to explain from scratch. If you know how to run docker and how to open ports, that's it. Btw. Mint is only a Ubuntu with GUI. RD-Server usually runs headless.