1.服务器端

在服务器终端执行:
 

 
  
  1. sudo apt-get install openssh-server 

2.客户机端

在客户机端执行:

 
  
  1. sudo apt-get install openssh-client