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, 2020 in Linux Administration by MD
• 95,060 points
161 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, 2020 by akhtar
• 38,170 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, 2020 in Linux Administration by MD
• 95,060 points
86 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, 2020 in Linux Administration by MD
• 95,060 points
1,748 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, 2020 in Linux Administration by MD
• 95,060 points
191 views
+1 vote
1 answer

How to configure NFS server in Linux?

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

answered May 27, 2020 in Linux Administration by MD
• 95,060 points
142 views
0 votes
1 answer

How to configure FTP server in Linux System?

Hi@akhtar, You need to install vsftpd software in ...READ MORE

answered Jul 9, 2020 in Linux Administration by MD
• 95,060 points
102 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
263 views
+6 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,770 points
3,781 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,890 points
936 views
0 votes
1 answer

How to create a group in Linux system?

Hi@MD, On Linux, group information is held in the /etc/group file. ...READ MORE

answered Aug 13, 2020 in Linux Administration by akhtar
• 38,170 points
91 views