![]() Mosh, which can't be used over that forwarded tcp port anyway! ![]() RU" trip and back, console becomes quite unusable without something like More general problem than with just "ssh -R", but when doing e.g. Round-trip through some third-party VPS can add significant console lag, reverse-tunnel port) or put it to whatever graphical desktop. Output on connected display - just "wall" some unique number.Blinking LEDs via /sys/class/leds, ethtool -identify or GPIO pins.IP address, connected hardware, stored files, power-on/off timing, etc. Knowing/checking quirks specific to each board, like dhcp hostname,.when someone sets up 5 RPi boards on the other end, how to tell which proc/net/tcp there, if commands are allowed there (probably a bad idea forĭevice identification in the same "mutliple devices" scenario. Get free port to bind to out-of-band from the server somehow.Ĭan be through same ssh connection, by checking ss/netstat output or More complex script to generate listening port for "ssh -R" based on Port for reverse-tunnels, so only one of these will work. Img file to use with multiple devices, they'll all try to bind same listening If these tunnels are not configured on per-system basis, but shipped in some Reconnected "ssh -R" will hang around without a listening port forever, Killing sshd pids might be hard to avoid on fast non-clean reconnect, since Occasional cleanup via loginctl list-sessions/terminate-session for ones.Dedicated PAM setup for ssh tunnel logins on this dedicated system, not."UsePAM no" to disable pam_systemd.so along with the rest of the PAM.Sessions from these, potentially creating hundreds or thousands of them over Running sshd on any reasonably modern linux, you get systemd session for eachĬonnection, and killing sshd pids as suggested above will leave logind If TCPKeepAlive is not good or reliable enough, kill all sshd pidsĪssociated with listening sockets that don't produce the usual.Reconnect until it can actually bind one. Detect and kill sshd pids without listening socket, forcing "ssh -R" to.Though probably still not fast enough for e.g. ![]()
0 Comments
Leave a Reply. |