Question about SSH2 connection port - WeOnlyDo Discussion board

Question about SSH2 connection port (General questions)

by cool_lei, Tuesday, February 14, 2006, 18:50 (6856 days ago)

Dear Sir,

I encount some problem about wodSSH.NET version 2.2.0

I use the compoment telnet to the UNIX server. Set the protocol to the SSHAuto, and set the port to standard 22 port.
But the UNIX administrator notice the application connect the server through different port as below:

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Feb 14 00:00:00 6F:hpny01u syslogd: restart
Feb 14 00:00:05 6E:hpny01u sshd[23644]: Accepted password for G20120 from 10.192.103.239 port 4857 ssh2
Feb 14 00:00:06 5B:hpny01u login: Remote login allowed for uid=766(G20120) gid=201(lcs)
Feb 14 00:01:23 6E:hpny01u sshd[23839]: Accepted password for G20120 from 10.192.103.239 port 4864 ssh2
Feb 14 00:01:24 5B:hpny01u login: Remote login allowed for uid=766(G20120) gid=201(lcs)
Feb 14 00:01:40 6D:hpny01u inetd[23916]: registrar/tcp: Connection from hpny01u (::ffff:155.2.100.31) at Tue Feb 14 00:01:40 2006
Feb 14 00:01:40 6D:hpny01u registrar[23916]: connect from hpny01u.elma.aieg.mot.com
Feb 14 00:02:41 6E:hpny01u sshd[24000]: Accepted password for G20120 from 10.192.103.239 port 4865 ssh2
Feb 14 00:02:41 5B:hpny01u login: Remote login allowed for uid=766(G20120) gid=201(lcs)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


I made some test, the true is that I can not telnet to the UNIX server without 22 port through cmd Window .

Why the log file in UNIX file displays the different port?
I need your help. Any feedback will be appreciate.

Thanks.
Li Lei


Complete thread: