Linux server deployments .Net Core notes: First, open ssh service

Original: Linux server deployments .Net Core notes: First, open ssh service

Open ssh service requires root privileges, log in as root first account

Check if there is ssh service installed: rpm -qa | grep ssh

If ssh service is not installed on the installation: yum install openssh-server

After installation is configured in the ssh configuration file: vim / etc / ssh / sshd_config

 Press i to enter edit mode, remove the # at two, if you use the root account is configured to connect PermitRootLogin yes (default is no)

 After editing, press esc to enter the command mode, enter: wq to save and exit

After modification with / bin / systemctl start sshd.service open ssh service

 

Add the ssh service to start from the list: systemctl enable sshd.service

The client xshell6 Personal Free Download:

https://www.netsarang.com/zh/free-for-home-school/

Guess you like

Origin www.cnblogs.com/lonelyxmas/p/12051887.html