This quick tutorial is going to show beginners how to enable the Secure Shell (SSH) service in Ubuntu 17.10.
Ubuntu offers OpenSSH, OpenBSD Secure Shell, in its universe repository. It is a suite of security-related network-level utilities based on the SSH protocol.
To install it, open terminal via Ctrl+Alt+T or login to command console and run command:
sudo apt-get install openssh-server
Type in your password (no visual feedback while typing due to security reason) when it prompts and hit Enter.
Once installed, the SSH service starts automatically. To check its status run command:
sudo service ssh status
you may replace status in the code with start, restart, or stop to start, restart, or stop SSH service.
To config the SSH server, e.g., listening port, root access, run command:
xhost +local: && sudo gedit /etc/ssh/sshd_config
Use nano instead gedit in Ubuntu server. And skip xhost +local: for non wayland session.
And remember to restart SSH service to apply changes:
sudo service ssh restart
For more, read the official OpenSSH manual.
Đăng ký liền tay Nhận Ngay Bài Mới
Subscribe ngay
Cám ơn bạn đã đăng ký !
Lỗi đăng ký !
Add Comment