Trending RHEL Discussions

Follow

Ask the Community


Ask any professional question and get answers from other specialists.

Stream language
Haji Raheemuddin's image
Question added by Haji Raheemuddin IT Support Engineer Abdulla fouad holding company
8 years ago
Answers:
4
Followers:
Views:
476
Vote Count:
0
Answer should contain a minimum of 25 characters.
Muhammad Anzar's image
Question added by Muhammad Anzar DevOps/DevSecOps Architect Confidential
9 years ago
Answers:
8
Followers:
Views:
384
Vote Count:
1
Answer should contain a minimum of 25 characters.
mohsin Butt's image
Question added by mohsin Butt IT Operations and Support Executive Bahria Enterprise Systems and Technologies
11 years ago
Answers:
10
Followers:
Views:
1265
Vote Count:
2
Answer should contain a minimum of 25 characters.
mohsin Butt's image
Question added by mohsin Butt IT Operations and Support Executive Bahria Enterprise Systems and Technologies
10 years ago
Answers:
2
Followers:
Views:
166
Vote Count:
1
Answer should contain a minimum of 25 characters.
moses Okoth's image  
Answer added by  moses Okoth, Application Developer, OSLABS LTD
9 years ago

Steps to follow Step1   As root, use your favorite text editor (vi) to edit the sshd configuration file. vi /etc/ssh/sshd_config   Step2   Edit the line which states  ... See More

Mohand ourabah BENABBAS's image  
Answer added by  Mohand ourabah BENABBAS, Systems engineer, dimensiondata
9 years ago

On  (/etc/ssh/sshd_config)  change  the parameter (Port) value to port number that you want.  

Abdellatif MIFTAHI's image  
Answer added by  Abdellatif MIFTAHI, Cloud DevOps engineer, 4D
9 years ago

From command line :sed -i 's/^Port .*/Port X/g' /etc/ssh/sshd_configWhere X is the port you want

Default profile image  
Answer added by  Deleted user
9 years ago

By editing the file /etc/ssh/sshd_config    and changing the line that starts with 'Port' if it has a "#" delete that sign. then save after changing t ... See More

Roshan Firozkhan's image  
Answer added by  Roshan Firozkhan, IT System Administrator, Emirates Driving Institute
9 years ago

vi /etc/ssh/sshd_config   look for line  port22   change the port number and wq!        

Rajesh Pant's image  
Answer added by  Rajesh Pant, System Engineer, Tech Mahindra Limited
9 years ago

Go through below steps to change SSH Port configuration  :1.) Open ssh configuration file for the editing# vi /etc/ssh/sshd_config2.) Append / Edit below mentioned line a ... See More