![Pi登录成功后关闭ssh连接](https://linux22.com/image/157740/Pi%E7%99%BB%E5%BD%95%E6%88%90%E5%8A%9F%E5%90%8E%E5%85%B3%E9%97%ADssh%E8%BF%9E%E6%8E%A5.png)
我将 Raspberry Pi 放置了几天,并连接了 3V 继电器和传感器。我只是尝试 ssh 进入它,成功登录后连接关闭:
Linux raspberrypi 4.19.57-v7+ #1244 SMP Thu Jul 4 18:45:25 BST 2019 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Jul 24 05:07:08 2019 from 192.168.86.27
debug1: client_input_channel_req: channel 0 rtype exit-signal reply 0
debug1: client_input_channel_req: channel 0 rtype [email protected] reply 0
debug2: channel 0: rcvd eow
debug2: channel 0: chan_shutdown_read (i0 o0 sock -1 wfd 4 efd 6 [write])
debug2: channel 0: input open -> closed
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: channel 0: chan_shutdown_write (i3 o1 sock -1 wfd 5 efd 6 [write])
debug2: channel 0: output drain -> closed
debug2: channel 0: rcvd close
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
Connection to 192.168.86.20 closed.
Transferred: sent 2152, received 2744 bytes, in 0.1 seconds
Bytes per second: sent 15562.4, received 19843.5
debug1: Exit status -1
我已尝试以下操作(登录后所有操作均不返回任何内容):
ssh [email protected] mv .bash_profile .bash_profile.SAVE
ssh [email protected] mv .profile .profile.SAVE
也许我应该重新刷新?