Error: Server login failed. Authentication by SSH key failed!. Remote Error: (1) if: Expression Syntax..

Error: Server login failed. Authentication by SSH key failed!. Remote Error: (1) if: Expression Syntax..


Make sure the ssh user is using the bash shell.

  finger <username> or grep <username> /etc/passwd would show the shell in use.

To change shell, use the command

chsh -s /bin/bash <username>

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    F1 - F4 keys not working in ezsh when using PuTTY
    Viewed 31352 times since Wed, Jun 14, 2017
    Unable to login into cpanel/whm with one click
    Viewed 6719 times since Wed, Jun 14, 2017
    vi editor having issues while logged in via ezeelogin
    Viewed 3463 times since Wed, Jun 14, 2017
    LICENSE: ERROR 1032
    Viewed 433 times since Sat, Nov 7, 2020
    An error occurred while trying to submit the form
    Viewed 504 times since Tue, Feb 25, 2020
    No Two-factor Authentication configured. Contact Administrator
    Viewed 64 times since Tue, Feb 2, 2021
    Cannot login to ezeelogin backend - CageFS-Cloudlinux
    Viewed 2478 times since Wed, Jun 14, 2017
    getting config from other node failed
    Viewed 989 times since Wed, Jan 9, 2019
    ezsh segfault or kicked of ezsh ssh session or ssh session crash
    Viewed 2562 times since Thu, Jun 15, 2017
    ssh session slow and not responsive
    Viewed 2882 times since Thu, Jun 15, 2017