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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.