ssh

  1. Y

    SSH user: logged in from IPAddress

    Hello, We have an cpanel server that sends emails about that a SSH user has been logged in. This is correct because we have an script on an other server that connects every minute to update data. What strange is, that we have entered the IP in de whitelist of bruteforce protection but we...
  2. W

    Email: Too many failed attempts; WHM: Invalid login; SSH: Permission Denied

    I just got completely locked out of my server. Email: Too many failed attempts WHM: Invalid Login SSH: Permission denied, please try again It might have been because an email password changed, and my email apps kept retrying too many times with the old password. Or it could be something worse...
  3. U

    How to access WHM panel with Disabled root user

    1. First I created a new user and added it to the wheel group 2. I disabled SSH access for the root user by editing /etc/ssh/sshd_config and set PermitRootLogin no, then I restarted SSH service. 3. Then I tried to log into the WHM panel using root user, it failed, then tried with the user...
  4. pkiff

    SOLVED Typo in Guide to Git Private Repo Docs - "Create the SSH Configuration File" Step - Add not Run

    There's a typo in one step of the Create the SSH Configuration File section of the cPanel Docs page Guide to Git™ - Set Up Access to Private Repositories. Step 4 of that section says: But you don't "run" a command at that step, you "add" the Host and IdentityFile definitions to the config...
  5. JIKOmetrix

    SSH with Certificate does not work with local client

    Hello, I have a scenario where there are two accounts on the same server dev and live. I'm trying to create an rsync function to sync dev's public_html to the live public_html folder. In my testing I have created an SSH key pair on live using the cpanel key manager. Now the odd part. I first...
  6. N

    What ssh Command Do I use?

    Hi all, I have been trying for hours now to try and find the path to the pear package I installed called HTTP/Request.php and cannot find it. Tried using locate Also tried Closest I got was this: But when I changed to that directory HTTP/Request.php wasn't there. After installing it I...
  7. Otávio Serra

    Is it possible create SSH keys to cPanel user account instead user root via API?

    I'm making some integrations with cPanel using WHM API1 and cPanel UAPI to create in my app some GIT repositories and intend to gave it access via SSH KEY. I use one root ssh key to make request to others cpanel's accounts globally. But I can't find options to make this keys owner to one cPanel...
  8. M

    Log in via SSH with PuTTY SSH

    Hi, I follow your blog guide to access with PuTTY SSH How To Use PuTTY SSH With cPanel® | cPanel Blog, but I have some problem. In the first method using a username and password, when I insert username in terminal emulator, it shows this error: "PuTTY Fatal Error No supported authentication...
  9. tbutler

    Root Login with Public Key?

    For as long as I can remember, I've disabled direct root login and required logging into a wheel group user first. But I've been thinking about installing an SSH key for root login; from a security standpoint is there any downside to this over what I've been doing? In theory, it seems to me, if...
  10. olGerva

    SSH - Accessing sent publickey gssapi-keyex gssapi-with-mic

    Hi to all I have a problem with accessing SSH server, I get this kind of error: sent publickey gssapi-keyex gssapi-with-mic I running "Security Advisor" on two of my VPS's I get the following suggestions. SERVER AA SSH direct root logins are permitted. Manually edit etc-ssh-sshd_config and...
  11. tbutler

    Mosh (Mobile Shell)

    Can anyone speak to adding Mosh support to a cPanel server? It sounds like it shouldn’t be too bad since it runs unprivileged, but the basic premise is that it makes for a persistent ssh-like connection on mobile devices, like an iPad.
  12. lionsgate

    SOLVED Setting Putty with SSH

    Trying to setup Putty for SSH using instructions provided here: https://blog.cpanel.com/how-to-use-putty-ssh-with-cpanel/ Works until I try to connect. Putty returns the following error message: No supported authentication methods available (server sent publickey,gssapi-keyex,gssapi-with-mic)
  13. G

    Unable to connect to a cPanel server via SSH

    Hi guys, In WHM - Service configuration - Service manager - SSH Daemon is enabled. I checked firewall a rule that redirects incoming SSH traffic to the cPanel server. However, from outside I'm unable to connect to the cPanel via SSH. What else SSH-related I should check? (I still can access the...
  14. S

    Editing DNS Zone Manager from terminal (SSH)

    I needed to ask whether it is possible to edit the WHM's DNS Zone Manager's configuration from terminal with SSH. If so, where should one navigate to perform those changes? Thank you.
  15. I

    How to remove DNS Zone via SSH if its Domain doesn't exist?

    Hi guys, I need an SSH command to run on a daily basis to check all the DNS Zones with their accounts on the server and if the account does not exist, then I need to remove this DNS Zone from this dir ( /var/named ) Example: example1.com.cat >> example1.com (If the domain "example1.com" exist...
  16. HostXNow_Chris

    Migrate entre Reseller to server where root SSH access is available

    Sometimes we get customers who want to migrate to us and have 20-50GB of data, lots of inodes and 50+ accounts where the customer only has Reseller access. A web host can spend days manually migrating each cPanel account, and it's ok when doing a few of them, but when the customer isn't sure of...
  17. JIKOmetrix

    SOLVED kex_exchange_identification: read: Connection reset by peer

    Hello, I'm trying to disable password auth for SSH and enable key authentication. I created user green-set keys in cpanel user ssh->manage keys and authorized the key. If I use a remote terminal to connect: ssh -i /Users/user_remote/.ssh/id_rsa [email protected]...
  18. E

    Plesk to cPanel Migration if you *don't* have SSH access

    Hi there, It appears the WHM transfer tool is Plesk compatible. However, the WHM transfer tool relies on SSH which most shared hosts won't allow or open. Can you tell me is there a way to do a Plesk migration if I don't have SSH to the source host?
  19. M

    SOLVED [SOLVED] WHM/cPanel unresponsive after reboot, SSH access

    It's a new server, Almalinux 8, installed cPanel, created a couple of accounts, disabled DNS, tried to set AutoSSL that worked for one domain and didn't work for another. Tried AutoSSL several times, removed self-signed SSL, decided to reboot. No access to WHM, cPanel nor websites. I'm able to...
  20. Spirogg

    Stop logging messages to console (SSH Console) kernel printk

    I was getting a lot of messages like TCP blocked - UDP Blocked in my SSH console ( terminal) Feb 11 04:05:16 server1 kernel: Firewall: UDP_IN Blocked IN=ens18 OUT= MAC=ff:ff:ff:ff:ff:ff:96:60:53:9d:9d:fa:08:00 SRC=23.xx.xx.xx DST=255.255.255.255 LEN=478 TOS=0x00 PREC=0x00 TTL=64 ID=25441 DF...