Home  >  Article  >  System Tutorial  >  Setting up remote access to your Ubuntu system

Setting up remote access to your Ubuntu system

王林
王林forward
2023-12-31 08:43:48948browse
Introduction The Ubuntu system is one of the Linux systems commonly used by enterprises and individuals. Due to its good graphics support and good development tool support, programmers prefer the Ubuntu series system. Recently, I helped a friend's company solve a problem and used a virtual machine to create an Ubuntu test environment. I found that Ubuntu's default security level and remote tools were not set. Next we will install the ssh service and then enable root permissions (not recommended)
System environment

Our system uses the virtual machine vmware workstations 12 version Ubuntu17.04 for experiments:
Ubuntu 系统远程设置

Install ssh service Check network connectivity

Ubuntu 系统远程设置

Upgrade the installation source (required for first time use)

Ubuntu 系统远程设置

Install ssh service

Ubuntu 系统远程设置
Ubuntu 系统远程设置
Ubuntu 系统远程设置

Start ssh service

Ubuntu 系统远程设置

Check the ssh service startup status

Ubuntu 系统远程设置
Ubuntu 系统远程设置

Set up the ssh service to start at boot Try to use chkconfig to set up ssh startup

Ubuntu 系统远程设置

Ubuntu 系统远程设置

Ubuntu 系统远程设置

Ubuntu 系统远程设置

systemctl Sets the ssh service to start at boot

Ubuntu 系统远程设置

Modify the ssh configuration file and enable root user login View IP and try to log in remotely

Ubuntu 系统远程设置

Ubuntu 系统远程设置

Ubuntu 系统远程设置

ok, ordinary user login successfully. Let's try switching to root.

Switch to normal user

Ubuntu 系统远程设置

Change root password

Ubuntu 系统远程设置

Try to log in to the system as root user

Ubuntu 系统远程设置

Modify the ssh configuration file and enable root login

Ubuntu 系统远程设置

Ubuntu 系统远程设置

Use root user for root login

Ubuntu 系统远程设置

Original address of this article: https://www.linuxprobe.com/ubuntu-start-sshd.htmlAuthor: Tao Wujie, Reviewer: Pang Zengbao

Original address of this article: https://www.linuxprobe.com/ubuntu-start-sshd.htmlEditor: public, reviewer: None

Recommend some articles related to this article for you:

  • Russian military’s GNU/Linux distribution: Astra Linux
  • FreeBSD 11.3 officially released
  • How to watch Nyan Cat on the Linux command line
  • "Cloud Native Java: Spring Boot, Spring Cloud and Cloud Foundry Elastic System Design" pdf e-book free download
  • "Illustrated TCP/IP" Free download of pdf e-books
  • Bitwarden officially acquires open source startup Passwordless.dev
  • zabbix exploits high-risk SQL injection vulnerability again, gaining system permissions
  • Node.js: easy development Web application artifact, quick installation tutorial decryption
  • IMAX is about to launch IMAX Enhanced certification
  • "Computer Graphics 4th Edition" pdf e-book free download

The above is the detailed content of Setting up remote access to your Ubuntu system. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:linuxprobe.com. If there is any infringement, please contact admin@php.cn delete