[FreeNX-kNX] SSH server not running on port 22 - startsession fails

Alexander Skwar listen at alexander.skwar.name
Sun Jul 30 11:13:49 UTC 2006


Hello.

As I got sick and tired by all those SSH brute force login attempts,
I changed my SSH server to not run on the default port 22 but on a
different port (631).

I now installed nxserver-freenx-0.6.0_alpha20060711 on Gentoo from the
Gentoo "testing" overlay. When I now try to login, I get an error
message. In the "Details" screen, there's:

NX> 203 NXSSH running with pid: 22583
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 200 Connected to address: 213.133.109.44 on port: 631
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.5.0-60-SVN OS (GPL)
NX> 105 hello NXCLIENT - Version 1.5.0
NX> 134 Accepted protocol: 1.5.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: askwar
NX> 102 Password:
NX> 103 Welcome to: hetzner user: askwar
NX> 105 listsession --user="askwar" --status="suspended,running" --geometry="1024x768x24+render" --type="unix-kde"
NX> 127 Sessions list of user 'askwar' for reconnect:

Display Type             Session ID                       Options  Depth Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------


NX> 148 Server capacity: not reached for user: askwar
NX> 105 startsession --session="NESI" --type="unix-kde" --cache="8M" --images="32M" --link="adsl" --kbtype="pc105/de" --nodelay="1" --backingstore="never" --geometry="800x600+112+59" --media="0" --agent_server="" --agent_user="" agent_password="******""  --screeninfo="800x600x24+render"

ssh: connect to host 127.0.0.1 port 22: Connection refused
Killed by signal 15.


As you can see, SSH tried to connect to port 22. How can I change
this?

Thanks,

Alexander Skwar
-- 
Politics makes strange bedfellows, and journalism makes strange politics.
		-- Amy Gorin



More information about the FreeNX-kNX mailing list