How to configure SSH server in RHEL/CentOS?

0 votes

I am trying to remote login in a different system to run some program. But I am not able to do SSH in that system.

Thank You 

Mar 30 in Linux Administration by MD
• 22,520 points
40 views

1 answer to this question.

0 votes

Hi@MD,

To configure SSH server to your system, follow the below given steps.

  • Install openssh-server

$ yum install openssh-server
  • Open /etc/ssh/sshd_config file.

Uncomment Port 22
  • Start service.

$ systemctl start sshd
$ systemctl enable sshd

Thank You

answered Mar 30 by akhtar
• 10,330 points

Related Questions In Linux Administration

0 votes
1 answer

How to install nginx web server in CentOS/RHEL?

Hi@akhtar, To install nginx in your system, you ...READ MORE

answered Apr 24 in Linux Administration by MD
• 22,520 points
29 views
0 votes
1 answer

How to run GUI program in SSH server from remote desktop?

Hi@akhtar, First you have to configure SSH server ...READ MORE

answered Mar 31 in Linux Administration by MD
• 22,520 points
62 views
0 votes
1 answer

How to break root password in CentOS/RHEL 8?

Hi@akhtar, Reboot the system and interrupt the boot ...READ MORE

answered May 11 in Linux Administration by MD
• 22,520 points
38 views
0 votes
1 answer

How to configure NFS server in Linux?

Hi@akhtar, To configure NFS server in your system, ...READ MORE

answered 3 days ago in Linux Administration by MD
• 22,520 points
22 views
0 votes
1 answer

How to increase Swap Memory in CentOS 7?

Follow the below steps and procedures: Prerequisites Must have ...READ MORE

answered Oct 5, 2018 in Linux Administration by Frankie
• 9,810 points
3,677 views
0 votes
1 answer

How do I use a shell script to SSH in to a remote machine to execute commands?

Your first problem can be solved like ...READ MORE

answered Jun 27, 2019 in Linux Administration by ajs3033
• 7,280 points
399 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
142 views
+5 votes
17 answers

What are job opportunities as a Linux System Administrator?

I just started working professionally as a ...READ MORE

answered Jul 18, 2018 in Career Counselling by eatcodesleeprepeat
• 4,750 points
1,400 views
0 votes
1 answer

setting a variable output from a bash command

You can use $(command), which in my ...READ MORE

answered Feb 15, 2019 in Linux Administration by DareDev
• 6,850 points
415 views