0204001-fedora开启ssh
0204001-fedora开启ssh
fedora21安装完之后默认没有启用ssh登陆,需手工开启。
1.查看是否安装openssh
[root@fedora21 ~]# rpm -q openssh
openssh-6.6.1p1-11.1.fc21.x86_64
[root@fedora21 ~]#
没有安装,则使用yum search openssh并安装。
2.启用ssh
systemctl enable sshd.service #开启sshd功能
systemctl start sshd.service #启动sshd服务
这样就可以使用ssh登陆了。
3.参考
- [http://zh.wikipedia.org/wiki/OpenSSH]
- [https://www.freebsd.org/doc/zh_CN.UTF-8/books/handbook/openssh.html]
- [https://fedoraproject.org/wiki/Systemd/zh-cn]
- [https://wiki.archlinux.org/index.php/Systemd_(简体中文)]
0.修订记录
class nobody{
public:
string author = "zhiw";
string email = "zhiw2019#163.com"
string timestamp = "2015年2月4日"
string version = "000,初始发布"
};
<<<-----------------坚定的每一小步--------------->>>
<<<----------有用请点赞哟-----祝君天天好心情---------->>>