google-code-export / web-shell

Automatically exported from code.google.com/p/web-shell
1 stars 1 forks source link

Disconnect before login- Non-default SSH port #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. change the port the servers SSH port listens on
2. run webshell.py
3. try to connect via local or remote

What is the expected output? What do you see instead?
i expected to see a webshell.  Instead I get disconnected after I press
enter for my username on login.  I also got some complaints from SSL.

Exception happened during processing of request from ('ip.add.re.ss', 1214)
Traceback (most recent call last):
  File "/usr/lib/python2.4/SocketServer.py", line 222, in handle_request
    self.process_request(request, client_address)

What version of the product are you using? On what operating system?
Tried all versions in the 0.9.X series.  Ubuntu 8.10 server and OS X 10.5
client

Please provide any additional information below.
You could make line 1098 of v0.9.6 read like:
cmd = 'ssh -p 1234'
with 1234 being the port you have sshd listening on.
Simple fix but it wasnt documented and it had me pulling my hair out.

Original issue reported on code.google.com by TonyTayl...@gmail.com on 13 Jan 2009 at 11:17

GoogleCodeExporter commented 9 years ago
"You could make line 1098 of v0.9.6 read like:
cmd = 'ssh -p 1234'
with 1234 being the port you have sshd listening on"

THANK YOU 
THANK YOU 
THANK YOU!!!.... 
OMG..... I COULD NOT FIGURE THIS OUT!!!

YES, please add this to the next release!!

Original comment by hamkin...@gmail.com on 26 Sep 2009 at 11:11