`
langzixin
  • 浏览: 127258 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论

Ubuntu配置SSH服务

阅读更多

首先,安装openssh-server和openssh-client

 

sudo apt-get install openssh-server openssh-client

 

可以通过编辑/etc/ssh/sshd_config文件来配置OpenSSH

 

sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.orignal

 

sudo chmod a-w /etc/ssh/sshd_config.orignal

 

配置完成后重启:

 

sudo /etc/init.d/ssh restart

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics