How to change IP Address in Bitnami Tomcat and configure SSH properly?
[Match]
Name=Interface Name
[Network]
Address=192.168.1.1/24
Gateway=192.168.1.1
DNS=192.168.1.503) After Editing is completed save file using below command
Press ESC and :wq to save File
4) After file is save reboot system using below command:
Sudo Reboot.
5) After system rebooted you can see above mention IP will get assign to Bitnami VM.
SSH Configuration
First we have to remove openssh server from Bitnami Tomcat. use below command to remove Openssh Server
sudo apt-get remove openssh-server
sudo apt-get purge openssh-server (to remove all config file)
sudo apt install openssh-server
After Install is completed you can check ssh service status as running .
sudo systemctl status ssh
You can also see port 22 is open using netstat -tnlp command.