在Ubuntu Linux上设置OpenSSH服务器

Setting up an SSH server on Ubuntu is about as simple as it gets. The server of choice is OpenSSH.

在Ubuntu上设置SSH服务器非常简单。 选择的服务器是OpenSSH。

Run this command from a terminal window:

从终端窗口运行以下命令:

sudo apt-get install ssh

须藤apt-get install ssh

To test that it’s working, you can try to ssh into your own machine:

要测试它是否正常工作,可以尝试使用ssh进入自己的计算机:

> ssh localhost

> SSH本地主机

The authenticity of host ‘localhost (127.0.0.1)’ can’t be established.RSA key fingerprint is 98:8a:b8:b2:9e:8a:84:e0:d4:08:27:fb:74:f0:de:d4.Are you sure you want to continue connecting (yes/no)?

无法建立主机'localhost(127.0.0.1)'的真实性.RSA密钥指纹为98:8a:b8:b2:9e:8a:84:e0:d4:08:27:fb:74:f0: de:d4。确定要继续连接(是/否)吗?

Looks like it’s working! Naturally our ssh client doesn’t have the key for the server, since we just installed it. You can type yes to continue or just hit Ctrl-C to stop.

看起来正在工作! 自然,我们的ssh客户端没有服务器的密钥,因为我们只是安装了它。 您可以输入yes继续,也可以按Ctrl-C停止。

翻译自: https://www.howtogeek.com/howto/ubuntu/setup-openssh-server-on-ubuntu-linux/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值