Go4Hosting https://go4hosting.in/forum/ |
|
How to enable standard account SSH access on a dedicated ser https://go4hosting.in/forum/viewtopic.php?f=5&t=23604 |
Page 1 of 1 |
Author: | RishitSingh [ Wed Sep 02, 2015 4:27 pm ] |
Post subject: | How to enable standard account SSH access on a dedicated ser |
How to enable standard account SSH access on a dedicated server? |
Author: | ericajephson [ Thu Sep 03, 2015 3:48 pm ] |
Post subject: | Re: How to enable standard account SSH access on a dedicated |
Here are the important steps summarized to enable standard account SSH access on your Dedicated Server. - First, generate SSH key pair for the account - Open WHM on your DS and go to Account Functions > Modify an Account - Now, activate SSH Access from the Shell Access check Box - Login to your DS as root user via SSH - Navigate to home/ user/ .ssh folder cd /home/user/.ssh In this command, change username with the actual username of the account for which you want to allow SSH - Enter the following Shell scripts vi authorized_keys The file will be opened in a text editor. Press i key from the keyboard to insert the text and paste the public key, which you have already generated. Go to "Esc", type ":wq!" ( without the quotes) and press "Enter" to save the modified file - Execute the following command in the shell prompt: iptables -I INPUT -s CustomerIP -p tcp --dport 18765 -j ACCEPT Now, change the CustomerIP with the IP of the computer which needs the SSH connection. - Restart your firewall: /etc/init.d/firewall restart /etc/init.d/sshd restart |
Page 1 of 1 | All times are UTC + 5:30 hours |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |