SSH not working


when i try connect from easymorph it gets denied but if i try in terminal it works:
same login details -no passphrase and the port and host are correct - the private key is also correct

PS C:\Users\moxak> ssh -i ~/.ssh/id_rsa infodash@infodasher.com -p 7822
The following updates have been applied on 'mi3-ts113.a2hosting.com':

Package Arch Version Repository Size

Upgrading:
accelerate-wp x86_64 1.9-17.el8.cloudlinux
cloudlinux-x86_64-server-8 1.5 M
alt-php-ssa x86_64 0.4-10.el8 cloudlinux-x86_64-server-8 85 k
alt-php-xray x86_64 0.6-27.el8 cloudlinux-x86_64-server-8 312 k
alt-python27-cllib x86_64 3.4.9-1.el8.cloudlinux
cloudlinux-x86_64-server-8 467 k
curl x86_64 7.61.1-34.el8_10.2 baseos 353 k
imunify360-webshield-bundle
x86_64 1.27.1-1.el8 imunify360 9.1 M
imunify360-webshield-bundle-cov
x86_64 1.27.1-1.el8 imunify360 35 k
imunifyemail noarch 1.9.0-1.el8 imunify360 17 k
imunifyemail-dec-node
x86_64 1.4.2-1.el8 imunify360 5.3 M
imunifyemail-quarantine
x86_64 1.6.2-1.el8 imunify360 6.0 M
imunifyemail-rspamd x86_64 3.8.5-1.el8 imunify360 4.0 M
libcurl x86_64 7.61.1-34.el8_10.2 baseos 303 k

Transaction Summary

Upgrade 12 Packages

Updates completed at Wed 21 Aug 2024 09:44:02 PM EDT
Last failed login: Wed Aug 21 06:16:25 EDT 2024 from 165.255.251.69 on ssh:notty
There were 141 failed login attempts since the last successful login.
[infodash@mi3-ts113 ~]$

Hi

Do you mean that SSH access from EasyMoprh app to this particular server used to work, but it has stopped working now?
What version of EasyMoprh are you using?

Hi

I just downloaded and using the latest version and tested before I first posted this issue to make sure it wasnt a version issue,

This connection is new - so it didnt stop working - I just cant get it to work.

The SSH from the PC does work if I try not using easymorph (i.e. Terminal from my local PC to the server - host:infodasher.com).

Also, SSH in easymorph does work with my other connections (to other servers)

Hi,

I have the same issue.
started with the 5.7.3.?? version.
Everything was ok on mid July.

Regards

I just got the server logs which showed that the port that easymorph was trying to connect was different to the one entered for some reason, (supposed to be port 7822)

Aug 22 04:43:08 mi3-ts113 sshd[4016900]: Connection closed by authenticating user infodash 165.255.251.69 port 51777 * [preauth] * and this number keeps changing on different connect attempt.

Just to clarify - port 7822 was inputed in Easymorph correctly. So not sure why the server is picking up a connection to a different port i.e. 51777 * which changes per attempt. Hope this further clarifies issue Not sure if the issue is my side or a bug.

Hi.

I have the same issue.
started with the 5.7.3.?? version.
Everything was ok on mid July.

You have already reported about your problem with SSH in a separate topic. I suggest continuing the discussion of your issue on the topic that has already been created.

What type of keys (RSA, etc) are you using?
EasyMorph supports only a few key storage formats and specific SSH-related algorithms.

First, check this topic. You may need to change the private key format.

Also, ensure that your ssh server allows one of the supported algorithms.

I just got the server logs which showed that the port that easymorph was trying to connect was different to the one entered for some reason, (supposed to be port 7822)

No, EasyMorph does not change the port to a random number.
If the port were changed, you would not detect a connection attempt on your server.

Yes it's solved. Thank you!

So I used PEM format which is compatible as was said in the links you sent.

Working command to generate key: ssh-keygen -p -m PEM -f ~/.ssh/id_rsa

Very grateful for help
Thank you!

1 Like