Thank you all for your replies :) This is the command i use: ssh -L 30300:localhost:8080 -R 1026:localhost:55555 -F ssh_config -N ipp@xxxxxxxxxxxx And i close the ssh process by closing the windows console, or by killing the ssh process from another application. Either way when i look in processes list after closing ssh process is gone when i try to reconnect again. I guess that's the explanation suggested above why sometimes it doesn't allow me to reconnect with same port, TCP connection staying in a wait state even after previous ssh client process terminates and it keeps that remote port busy. Maybe that's why it didn't showed with "netstat -an" command. Next time i will use the other commands suggested :) Thank you again, Adriana