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_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)]

0.修订记录

class nobody{
public:
    string author    = "zhiw";
    string email     = "zhiw2019#163.com"
    string timestamp = "2015年2月4日"
    string version   = "000,初始发布"
};

转载于:https://www.cnblogs.com/zhiw2019/p/4272093.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值