V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
asdwfwqd
V2EX  ›  问与答

树莓派首次启动时, ssh 提示 Connection refused

  •  
  •   asdwfwqd · Dec 11, 2016 · 3060 views
    This topic created in 3425 days ago, the information mentioned may be changed or developed.
    把吃灰多年的树莓派 2 翻出来玩玩,下载最新的 2016-11-25-raspbian-jessie.zip 镜像,解压出 img 。然后在 linux 中执行
    umount /dev/sdc1
    sudo dd bs=4M if=2016-11-25-raspbian-jessie.img of=/dev/sdc
    ( sdc 是对应的 TF 卡)
    插进去,上电。
    树莓派通过网线连接路由器,可以在路由器中看到 192.168.1.103 是 raspberrypi ,并且能 ping 通,但是执行 ssh [email protected] 时,提示
    ssh: connect to host 192.168.1.103 port 22: Connection refused
    重新烧了多次 TF 卡、用不同的电脑都是这样,路由器是 openwrt ,身边都是笔记本,没有可以插在树莓派上的显示器。原来用旧的镜像都是直接能 ssh 上的,现在为啥不行了
    steveshi
        1
    steveshi  
       Dec 11, 2016 via iPhone
    最新系统默认没有开启 ssh ,要接屏幕键鼠自己进系统去打开
    asdwfwqd
        2
    asdwfwqd  
    OP
       Dec 11, 2016
    @steveshi 连上了,好坑, nginx 版本才 1.6.2
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4851 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 09:57 · PVG 17:57 · LAX 02:57 · JFK 05:57
    ♥ Do have faith in what you're doing.