Install teamviewer from command line via a ssh connection

Install teamviewer from command line via a ssh connection

This post shows how to install TeamViewer remotely via an ssh connection

wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
  • Install the package with sudo dpkg -i teamviewer_amd64.deb.
  • The terminal may show this error
dpkg: error processing package teamviewer (--install):
 dependency problems - leaving unconfigured

If positive, run sudo apt install -fy, then run the above command again.

  • Setup control password sudo teamviewer passwd my_secret_password.
  • Then, you can have TeamViewer id in the result of the info command teamviewer info.
  • To start TeamViewer in the startup: sudo systemctl enable teamviewerd.
Buy Me A Coffee