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
• 78,020 points
120 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
• 33,120 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
• 78,020 points
67 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
• 78,020 points
965 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
• 78,020 points
138 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 in Linux Administration by MD
• 78,020 points
120 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 in Linux Administration by MD
• 78,020 points
77 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
219 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,750 points
2,869 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,870 points
795 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 in Linux Administration by akhtar
• 33,120 points
71 views