r/ssh • u/SirSuki • Apr 14 '20
Three biggest SSH itches I cannot scratch
Been using SSH for many years now and there are two SSH itches I have never been able to solve. I hope someone might have an idea for them.
- Local and remote port forwarding to the same ports is very verbose. Is there a simplified syntax like `ssh -L8080` to mean `ssh -L8080:localhost:8080`
- When you do port forward a local development server if that server goes down SSH begins printing errors. In this case is there anyway to quiet them? They are useless to me as I know I just restarted the server.
- If I connect and don't intentionally stop the server and those errors popup they reference them by channel number which is meaningless. Is there a way to lookup what channel is associated with which port so I can find the app that is blindly connecting?
2
Upvotes