SSH with multiple port access

1.How to configure SSH Server for remote SSH access with Multiple IP and Port ?(RHEL/CentOS-5,6)
1.  IP Address- 192.168.0.62 & Port no -6987
2.  IP Address- 192.168.0.177 & Port no -6988
Go in SSH Configuration file and add two below line
[root@shahzad ~]#vim /etc/ssh/sshd_config
ListenAddress 192.168.0.62:6987
ListenAddress 192.168.0.177:6988
##Restart SSH Service:
[root@shahzad ~]#service sshd restart
##To Check open port of ssh
[root@shahzad ~]# netstat -tunlp | grep ssh
 ##Now, Access Server:  ( -p - for port )
[root@shahzad ~]#ssh 192.168.0.62 -p 6987      
[root@shahzad ~]#ssh 192.168.0.177 -p 6988
#####Thanks for Visiting on my blog, Have a good Luck !!#####
Share on Google Plus

About Penguin Technology

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

3 comments:

  1. Are you a Coinbase user? Are you having an issue with the verification of KYC documents? Is this becoming an obstacle and you are having trouble in accessing your Coinbase account due to this pendency in verification? Don’t worry such an issue can be easily tackled by contacting a representative at Coinbase customer service by dialing Coinbase customer support number.The highly proficient executive aims at giving you desired and most appropriate solutions to all your queries.

    ReplyDelete
  2. Do you want to step into the Binance world and looking forward to creating the Binance account? Are you having trouble while creating an account in Binance? If you don’t know the protocols to create an account, you can always get in touch with the team of well-elite professionals who is always around the clock. Dial a Binance support number and get in touch with the team. The talented team has all the packs and techniques to tackle all the problems and troubles in quick time.

    ReplyDelete
  3. Are you looking for support so that all your Gemini errors can easily be fade away? You know what, the support is just one call away from you. All you have to do is take your cell phone and connect with the team who is experienced and have complete knowledge about Gemini sector. Dial Gemini support phone number and you will be connected with one of the team professionals who will ask query from you and after analyzing it will get back to you with endless solutions. The team is always at your service so never leave a chance to contact them in need.
    For more info visit our website: https://www.cryptowalletsupport.com/gemini-support-number/

    ReplyDelete