进入Fedora LiveCD后sshd服务默认是没有开启来的,ssh需要手动开启来,开启之后需要给root添加一个密码,不然ssh登录不上的[root@localhost ~]# systemctl enable sshd.service
ln -s "/usr/lib/systemd/system/sshd.service" "/etc/systemd/system/multi-user.target.wants/sshd.service"
[root@localhost ~]# systemctl start sshd.service
当然最好还是将 iptables 给关掉:[root@localhost ~]# systemctl stop iptables.service[root@localhost ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination Chain FORWARD (policy ACCEPT)
target prot opt source destination Chain OUTPUT (policy ACCEPT)
target prot opt source destination
看看服务是否开启来:[root@localhost ~]# netstat -tunlp |grep ssh
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1697/sshd
tcp6 0 0 :::22 :::* LISTEN 1697/sshd 关于Unix/Linux下查看命令行历史记录(history/.bash_history)Fedora 17 安装卸载nVidia 驱动相关资讯 Fedora教程
- Fedora安装之rpmfusion:获取 GPG (03/02/2014 12:57:18)
- Win7下安装Fedora 17注意点 (10/07/2012 20:47:42)
- 编译自己功能定制的Fedora 7内核 (09/12/2012 09:31:23)
| - Fedora如何设置启动默认进入文本模 (04/06/2013 08:23:46)
- Windows 7 + Fedora 17 双系统 硬 (10/07/2012 18:43:52)
- Fedora下adsl共享上网 (09/11/2012 08:11:46)
|
本文评论 查看全部评论 (0)