Book Image

Linux Mint Essentials

By : Jay LaCroix
Book Image

Linux Mint Essentials

By: Jay LaCroix

Overview of this book

Table of Contents (22 chapters)
Linux Mint Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Accessing your system via SSH


By default, the ssh command is available in Linux Mint without the need to install any extra packages. You can connect to other machines via SSH using your Linux Mint computer right away. However, only the package that enables you to connect to other machines is installed and not what's required to connect to your own machine from a different computer. If you would like to access your own computer via SSH, the openssh-server package must be installed. To do so, first run the following command:

sudo apt-get install openssh-server

You're still not done. Once the openssh-server package is installed, you must designate which user accounts are allowed to access your system remotely. To do this, we need to edit a configuration file, and this file is the sshd_config file that is located in the /etc/ssh directory.

However, before editing it, it's a good idea to make a backup copy should you make a mistake. To do so, execute the following command line:

sudo cp /etc/ssh...