课程: Ubuntu Linux: Service Configuration

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Configure SSH servers and clients

Configure SSH servers and clients

- [Instructor] SSH, or Secure Shell, is a common way of accessing remote servers securely with a text interface. The SSH software allows users to connect and authenticate, and then gives them a shell to work in, just like if they were using a local console interface. Most installations of SSH involve the OpenSSH package. So, let's take a look at using that to configure both a server, which clients will connect to, and clients, which we'll need to be able to connect to a server. Here on my system, I'll install the OpenSSH server with apt install openssh-server. That will install and configure the SSH server software to accept connections. Clients will be able to connect to the server on port 22. And any user with an account on the system will be able to use their username and password to authenticate. The configuration settings for the SSH server are kept in the /etc/ssh/sshd_config file. Let's take a look at that. Right up here at the top I can set which port the server listens for…

内容