By: sachin wagh user 19 Apr 2021 at 7:12 a.m. CDT

4 Responses
sachin wagh gravatar
I am not able to login into chroot through putty. I am getting Connection reset by 127.0.0.1 port 60022 exception I have restarted gluu server but still getting same issue. I am using gluu 4.1 Please kindly help to resolve this issue. Please find the debug logs below: debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to localhost [127.0.0.1] port 60022. debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: identity file /etc/gluu/keys/gluu-console type 0 debug1: key_load_public: No such file or directory debug1: identity file /etc/gluu/keys/gluu-console-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 debug1: Remote protocol version 2.0, remote software version OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 debug1: match: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 pat OpenSSH* compat 0x04000000 debug1: Authenticating to localhost:60022 as 'root' debug1: SSH2_MSG_KEXINIT sent Connection reset by 127.0.0.1 port 60022

By Mobarak Hosen Shakil staff 20 Apr 2021 at 4:55 p.m. CDT

Mobarak Hosen Shakil gravatar
Hi Sachin Wagh, It seems OpenSSH issue. Is this happened after a fresh installation? Thanks & Regards ~ Shakil

By sachin wagh user 21 Apr 2021 at 6:45 a.m. CDT

sachin wagh gravatar
Hi Mobarak Hosen Shakil Thanks for your reply, No this not happened after fresh installation. The gluu server was already installed and it was working fine. 2 days ago i tried login into gluu server using **/sbin/gluu-serverd login** command but suddenly i started getting this error. After searching on internet i tried below commands which i found on your support portal. ssh-keygen -b 2048 -t rsa -f /etc/gluu/keys/gluu-console -q -N "" cat /etc/gluu/keys/gluu-console.pub > /opt/gluu-server/root/.ssh/authorized_keys Even after trying above commands i am getting same issue. Can you please help us to resolve this issue? Thanks Sachin Wagh

By Mobarak Hosen Shakil staff 21 Apr 2021 at 8:58 a.m. CDT

Mobarak Hosen Shakil gravatar
Can you please share the link you found on searching? Also please share the actual behivour you got while using the login command: `/sbin/gluu-serverd login` . It will help me to guess the exact scenario. Thanks & Regards ~ Shakil

By sachin wagh user 21 Apr 2021 at 9:09 a.m. CDT

sachin wagh gravatar
Hi Mobarak Hosen Shakil, The issue got resolved now I am able to login into chroot. It was directory & files permissions issue. Thanks Sachin