Ubuntu安装ssh

来源:互联网 发布:js字符串中的双引号 编辑:程序博客网 时间:2024/05/19 06:16

Ubuntu系统缺省安装了ssh client,但是缺少ssh server,需要我们手动安装。

查看ssh/sshd/ssh-keygen:

which sshwhich sshdwhich ssh-keygen

安装ssh:

sudo apt-get updatesudo apt-get install ssh

测试一下ssh是否生效:

ssh localhostssh 127.0.0.1


0 0