SSH User login denied
I am facing an issue with docker build and also with normal running of glutton. When i try to login ssh using glutton it denies to allow my login.
Did you try port 5001 as per documentation?
THe issue with ssh is that when i try to forward to the target machine.Glutton successfully detects the incoming connection but user session closes immediately after typing password. Here is what shows 2018/04/18 11:34:29 DEBUG [freki ] new TCP connection 192.168.0.100:52534->22 2018/04/18 11:34:29 DEBUG [contable] registering 192.168.0.100:52534->22 2018/04/18 11:34:29 ERROR user.tcp: close tcp 172.17.0.3:5000->192.168.0.100:52534: use of closed network connection 2018/04/18 11:34:43 DEBUG [freki ] new TCP connection 192.168.0.100:52536->22 2018/04/18 11:34:43 DEBUG [contable] registering 192.168.0.100:52536->22 2018/04/18 11:34:49 DEBUG [freki ] new TCP connection 172.17.0.3:39454->22 2018/04/18 11:34:49 DEBUG [contable] registering 172.17.0.3:39454->22 2018/04/18 11:34:49 DEBUG [freki ] new TCP connection 172.17.0.3:39456->22 2018/04/18 11:34:49 DEBUG [contable] registering 172.17.0.3:39456->22 2018/04/18 11:34:49 DEBUG [freki ] new TCP connection 172.17.0.3:39458->22 2018/04/18 11:34:49 DEBUG [contable] registering 172.17.0.3:39458->22 2018/04/18 11:34:51 DEBUG [freki ] new TCP connection 172.17.0.3:39460->22 2018/04/18 11:34:51 DEBUG [contable] registering 172.17.0.3:39460->22 2018/04/18 11:34:51 DEBUG [freki ] new TCP connection 172.17.0.3:39462->22 2018/04/18 11:34:51 DEBUG [contable] registering 172.17.0.3:39462->22 2018/04/18 11:34:51 DEBUG [freki ] new TCP connection 172.17.0.3:39464->22 2018/04/18 11:34:51 DEBUG [contable] registering 172.17.0.3:39464->22 2018/04/18 11:34:54 DEBUG [freki ] new TCP connection 172.17.0.3:39466->22 2018/04/18 11:34:54 DEBUG [contable] registering 172.17.0.3:39466->22 2018/04/18 11:34:54 DEBUG [freki ] new TCP connection 172.17.0.3:39468->22 2018/04/18 11:34:54 DEBUG [contable] registering 172.17.0.3:39468->22 2018/04/18 11:34:54 DEBUG [freki ] new TCP connection 172.17.0.3:39470->22 2018/04/18 11:34:54 DEBUG [contable] registering 172.17.0.3:39470->22 2018/04/18 11:34:54 ERROR user.tcp: close tcp 172.17.0.3:5000->192.168.0.100:52536: use of closed network connection THe password and username are correct
try ssh -p 5000 172.17.0.3
One thing these are the logs of other machine which shows password not being forward

From the logs I can see that you are connecting to port 22... Please follow my instructions.
Sorry if i cannot deliver the problem properly. The issue is that ssh of other machine is not working.port 5001 works fine with ssh on machine with glutton. The other machine doesnot get the ssh. I have correctly setup the rules file. No issues with that but issues comes when ssh password is provided it doesnot work
Ah, sorry, I misunderstood your goal. Glutton only supports the username/password handshake in ssh and then disconnects. If you want a proper ssh honeypot, you have to connect Glutton to something like cowrie or bifrozt.
Yeah it is connected to cowrie but still got disconnected
Update: Tested this on Ubuntu 16.04 and Ubuntu 17.10. Docker Version and both the go version of glutton fails to communicate with ssh when password is transferred. When tried to use an old build, Some libraries causes the issue and it was unsuccessful.