An IP address is not enough to connect to a device. There has to be a server on the Linux device to accept incoming connections.
You didnt list what kind on Linux you are using, which would help greatly. Assuming your Linux is Debian based, the following should allow SSH to work. However, if it is based off a non-Aptitude based Linux, you should be able to easily adapt the following to your needs.
In order to install SSH, you can run the following command to install the Open SSH server:
sudo apt install openssh-server
Enter your password and accept any prompts. Once the install is finished, you need to start the server. You can use the following command:
sudo service ssh start
From Windows, run Putty and SSH nto your Ubuntu machine with the following command:
ssh <insert name or IP here>
The first time you SSH into a machine, you will be prompted and asked if you trust the machine. Accept and you will be remotely connected to your Ubuntu machine.
At this point you can type in any commands you want.