first What you want to do? 1.connect from Linux Machine to Windows Machine or vise versa? 2.You want to use SSH connection ?
from Windows ---->> to Linux With SSH (using SSH protocol)
a.install putty on windows
b.Edit SSH config file
~/.ssh/config
on you Linux machine to accept INCOMING connection and also set the port or use the default port
SSH config file is a text file a command per line. if the # is before a line, that line would not read by OpenSSH and it is like you removed it from the config file.
3.open putty in your windows machine and create a new connection profile.
give it the ip of your Linux machine and the Port.
then press connect
if the connection is successful then you get a command prompt much like the console on your linux machine.