Ubuntu安装启动SSH服务器

来源:互联网 发布:linux 音乐服务器 编辑:程序博客网 时间:2024/05/16 15:50

安装openssh-server 

sudo apt-get install openssh-server

如果是没有安装SSH-server

当你输入:ssh localhost时就会出错

默认端口是22--记住哦

没有安装就按装了:

sudo apt-get install openssh-server openssh-client

启动SSH-server

sudo /etc/init.d/ssh start

ok----结束了

原创粉丝点击