Due to firewall at my work place, I sometimes need to use ssh to tunnel some port to get works done (e.g. telnet):
Code:
ssh -fg2NL 23:remotehost1:23 user@sshserver
but sometimes I want to connect to remotehost2, but running the above command again would give the error that port 23 can't be opened for listening. How do I "cancel" a previously issued tunneling command?
Thnks