NEED SOME HELP
CLICK HERE OR CALL US ON
hosting provider in india 1-800-212-2022
web hosting services in USA 1-888-288-3570
Have questions? Let us answer them all!

Go4hosting
FORUM

Go4hosting offers top-notch services, such as dedicated server hosting, VPS hosting, Co- location,Web hosting,
Email hosting, and Cloud Computing solutions. All the services offered by Go4hosting are efficient, reliable,
andcost-effective. , remaining essentially unchanged.

It is currently Sun Dec 22, 2024 6:24 pm

All times are UTC + 5:30 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Sep 02, 2015 4:27 pm 
Offline

Joined: Wed Sep 02, 2015 4:21 pm
Posts: 7
How to enable standard account SSH access on a dedicated server?


Top
 Profile  
 
PostPosted: Thu Sep 03, 2015 3:48 pm 
Offline

Joined: Mon Aug 17, 2015 12:07 pm
Posts: 4
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 5:30 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: