How to enable ssh connection during installation of Red Hat Enterprise Linux 7 ?

Solution Verified - Updated -

Issue

  • Is there any way to enable ssh access during installation of Red Hat Enterprise Linux 7?
  • There are following lines in the kickstart file.
firewall --enabled --port=22:tcp --port=25:tcp --ssh
services --enabled sshd
  • But still getting the following error.
ssh: connect to host 192.168.0.160 port 22: Connection refused

Environment

  • Red Hat Enterprise Linux 7
  • Installation

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content