Tag Info

Hot answers tagged

3

Sounds like autossh (Automatically restart SSH sessions and tunnels) could be something for you: http://www.harding.motd.ca/autossh/ To keep tunnels alive, and to administrate them in general. Should be on most distros base repos, so just use one of the following: apt-get install autossh # deb pacman -S autossh # arch yum install autossh # rhel


1

It's ssh client that's working on your side (local), not sshd. pgrep -l ssh should list pids and names. If no clue, try netstat -tnp|grep -F '127.0.0.1:8888'. Or run lsof -itcp@127.0.0.1:8888 and find the pid and kill. Or ssh into the remote machine, and press ~C and enter on it's own line. You'll get ssh> prompt, type -h for help. ~# lists forwarded ...



Only top voted, non community-wiki answers of a minimum length are eligible