Determining the reverse port tunnels

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hi all,

If I were to connect to a system with a command like this:

ssh -R *:0:localhost:3000 user@server

Is there any way for openssh to tell my shell what ports it opened for me?

i.e. what port on server is my localhost:3000 exposed to?

I know that there is a stderr / stdout printout of the port, but wonder if
there is a way to know in my shell.  Maybe an env var?  Maybe some grepping
of netstat?

Thanks!
Cary FitzHugh
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux