Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save otnamhcar/5936a2933d3a500e7108083fab6c96ce to your computer and use it in GitHub Desktop.

Select an option

Save otnamhcar/5936a2933d3a500e7108083fab6c96ce to your computer and use it in GitHub Desktop.
install anydesk via command line at linuxmint ulyana

Add the AnyDesk GPG key

sudo apt update

sudo apt install ca-certificates curl apt-transport-https

sudo install -m 0755 -d /etc/apt/keyrings

sudo curl -fsSL https://keys.anydesk.com/repos/DEB-GPG-KEY -o /etc/apt/keyrings/keys.anydesk.com.asc

sudo chmod a+r /etc/apt/keyrings/keys.anydesk.com.asc

Add the AnyDesk apt repository

echo "deb [signed-by=/etc/apt/keyrings/keys.anydesk.com.asc] https://deb.anydesk.com all main" | sudo tee /etc/apt/sources.list.d/anydesk-stable.list > /dev/null

Update apt caches and install the AnyDesk client

sudo apt update

sudo apt install anydesk

Set unattended

echo -e "ad.security.allow_logon_token=true\nad.features.unattended=true" >> ~/.anydesk/user.conf

sudo echo [your-custom-password] | sudo anydesk --set-password

Restart anydesk service

sudo systemctl restart anydesk

Check anydesk service is online

anydesk --get-status && echo

if its not online then run

anydesk --service

Get your anydesk id

anydesk --get-id && echo

Now you can use your anydesk id in your Anydesk client, to access the remote system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment