Page MenuHomeDevCentral

Can't login to new eglide.org through SSH
Closed, ResolvedPublic

Description

hi bro,
i can not login to your machine pls help me

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDNr1VcyT8cSDsylMn4zHmfD4ulLbCM8gK+2GrXwlidMNX5pWOs3svSRbF62r9s8jGILzCGc/dOsYFxsX2CI378Io1ybBZsV2PpkBpjnAHSTHCSD5qbrzPWFoOyn7YLUXzKZ64Jss5Mb3x0SCTD0BNJ1xmNI+OCZNOtkw7yeXHgwCKOGVwiCViNsYt7j1N0st4tUMpFv5OPohs2f+AEKjDPsLODfzMR0MrFRSItmqPmE1er/noPFtHH4GOvyiENZeERClkeiM6XrLtQi+awD0Chf8c2++4BfNNwRrIkJuMkQ78kT0uU7vVO3WlcLdyv0Tokgc79CJ89yqnH4+tS/jzx

this is my ssh key thank you

Related Objects

Event Timeline

dereckson added a subscriber: dereckson.

Can't login either. Seems we've an issue with ssh config.

dereckson triaged this task as High priority.
dereckson added a project: Eglide.

can you help me ..?

set me this

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDNr1VcyT8cSDsylMn4zHmfD4ulLbCM8gK+2GrXwlidMNX5pWOs3svSRbF62r9s8jGILzCGc/dOsYFxsX2CI378Io1ybBZsV2PpkBpjnAHSTHCSD5qbrzPWFoOyn7YLUXzKZ64Jss5Mb3x0SCTD0BNJ1xmNI+OCZNOtkw7yeXHgwCKOGVwiCViNsYt7j1N0st4tUMpFv5OPohs2f+AEKjDPsLODfzMR0MrFRSItmqPmE1er/noPFtHH4GOvyiENZeERClkeiM6XrLtQi+awD0Chf8c2++4BfNNwRrIkJuMkQ78kT0uU7vVO3WlcLdyv0Tokgc79CJ89yqnH4+tS/jzx

dereckson renamed this task from login problem to Can't login to new eglide.org through SSH.Sep 19 2021, 21:29
dereckson reopened this task as Open.
dereckson mentioned this in T1664: login problem.
dereckson added a subscriber: Sandlayth.

I suspect a permission issue when transferring the /home directories from the old machine to the new machine.

Confirmed, the .histfile issue had disappeared when I deleted my home folder restored by the zip archive, to put back the one I scp'ed last month.

Actually, the issue is stranger, there is a mix of user and root files.

I suspect the file by user are created by Salt config, the ones by root by unzipping.

The tar utility preserves the accounts and file permissions. Probably best to use that.

I see 3 entries in the auth log:

A login attempt:

auth.log.1: Sep 18 17:05:51 eglide sshd[270144]: Connection closed by authenticating user rashk0 <some IP> port 62012 [preauth]

A chmod for a previous content:

auth.log.2.gz:Sep 9 17:28:14 eglide sudo: sandlayth : TTY=pts/0 ; PWD=/home ; USER=root ; COMMAND=/usr/bin/chown -R rashk0:rashk0 rashk0

The initial user creation:

auth.log.4.gz:Aug 25 19:57:09 zonegrey useradd[5647]: new group: name=rashk0, GID=2003
auth.log.4.gz:Aug 25 19:57:09 zonegrey useradd[5647]: new user: name=rashk0, UID=2003, GID=2003, home=/home/rashk0, shell=/bin/bash, from=/dev/pts/1
auth.log.4.gz:Aug 25 19:57:13 zonegrey gpasswd[5999]: members of group shell set by root to [...]

The key in SSH configuration is the correct one.

@Rashk0 now I've access to the server I can help to debug further, can you retry again? I'll check the auth log to see what result we've now.

Hallo,

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for eglide.org has changed,
and the key for the corresponding IP address 2001:bc8:1200:511a::1
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
8d:5d:04:90:df:e7:2b:56:3b:ac:62:a9:81:58:3f:15.
Please contact your system administrator.
Add correct host key in /home/campari/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/campari/.ssh/known_hosts:19
ECDSA host key for eglide.org has changed and you have requested strict checking.
Host key verification failed.

Expected, as we've changed the server machine, so the keys.

You can remove the line 19 from your known_hosts file.

We need to update contact ways by creating an announcement mailing list, it has been announced on Libera Chat Eglide, the new channel since the Freenode issues, but not all people are there.

The authenticity of host 'eglide.org (2001:bc8:1200:511a::1)' can't be established.
ECDSA key fingerprint is 8d:5d:04:90:df:e7:2b:56:3b:ac:62:a9:81:58:3f:15.
Are you sure you want to continue connecting (yes/no)?
Host key verification failed.

This comment was removed by Rashk0.
Operations & ICT ... Nasqueron

rashk0@eglide:~$

You've also to probably recompile the eggdrop: the new server is x64, not ARM.

dereckson lowered the priority of this task from High to Normal.Sep 20 2021, 11:51

@Sandlayth We still need to check if we can save the permissions for the users not having logged in and modified stuff by recreating a tar archive perhaps.