[gridengine users] What chooses the sshd random port?

Jeff Blaine jblaine at kickflop.net
Fri Apr 27 14:56:39 UTC 2018


Hi everyone,

I'm trying to find the code responsible for picking the "random" sshd
port to use when using ssh/sshd as the transport. Specifically, I mean
39063 in the following:

Child process:

/usr/bin/ssh -Yt -p 39063 somehost.our.com exec
'/opt/sge/utilbin/lx-amd64/qrsh_starter'
'/opt/sge/MTC/spool/nickel/active_jobs/...' blahblah

Parent process below included here only for completeness:

qrsh -P sge -q linux -N default_sge -p -100 -m as -M someuser at our.com
-cwd -V -j y -w n -now no -pty yes -noshell -hard -l
hostname=(somehost.our.com) /bin/bash sge_log/sge_script.fQbbIQqn

I've been grepping around in the 8.1.8 source[1] from
https://github.com/valhallasw/son-of-gridengine for an hour now.

By any chance, is anyone on the list familiar with that part of the code
or have any idea where to point me?

Jeff

Footnotes

1. None of the source code repo references at
https://arc.liv.ac.uk/trac/SGE work for me.




More information about the users mailing list