Ubuntu remote ssh maintenance teamviewer

  • 1. Download teamviewer

https://www.teamviewer.cn/cn/download/linux/

wget https://dl.teamviewer.cn/download/linux/version_15x/teamviewer_15.9.4_amd64.deb
  • 2. Install teamviewer
sudo dpkg -i teamviewer_15.9.4_amd64.deb

Solve the dependency problem:

sudo apt-get install -f
  • 3. Configure the teamviewer file (this file must be configured after remote installation)
sudo vim /opt/teamviewer/config/global.conf

After opening, add the following content at the end. The first and second lines indicate acceptance of the installation agreement, and the third line indicates that the teamviewer LAN IP address connection is allowed

[int32] EulaAccepted = 1
[int32] EulaAcceptedRevision = 6
[int32] General_DerectLAN =1
  • 4. Teamviewer commonly used commands
# 启动teamviewer
sudo teamviewer --daemon start
# 停止teamviewer
sudo teamviewer --daemon stop
# 查看teamviewer信息
teamviewer info
#查看teamviewer ID
sudo teamviewer --info print id
# 设置固定密码
sudo teamviewer passwd [yourpassword]
# 重启teamviewer服务
sudo teamviewer --daemon restart
  • 5. teamviewer uninstall
sudo apt --purge remove teamviewer

 

Guess you like

Origin blog.csdn.net/deephacking/article/details/108232246