KNOWNHOST KNOWLEDGE BASE

Hosting Question? Find the Solution - Browse our Guides, Articles, and How-To's

How to connect with SSH?

If you’re looking to manage Linux operating system-based machines remotely, you can take the help of SSH protocol like we do RDP for Windows-based machines. In this article, we will be covering multiple platforms and a guide on how to connect with SSH?


Windows

For the Windows operating system, we don’t have a direct application to initialise the SSH connection. So, for Windows, we will be using a third-party application, i.e. Putty.

Download Putty (Following URL),

www.putty.org

1. Open PuTTY application.

open putty application windows

2. Enter the required information,

Hostname/IP Address: Enter the server’s hostname or the IP address.

The port changes based on service. All Managed KnownHost VPS/Dedicated servers use 2200.
Any other service uses 22
Port: 2200 (unless you’ve altered the default)

Connection Type: Select SSH.

enter the required details putty windows

3. Now, click on Open.

how to connect to ssh in windows

4. You are most likely to encounter Security Warning → Click on Accept for the first login time.

accept security warning putty windows

5. Enter the Username & Password for the user.

enter username and password for ssh windows

6. Congratulations! You have successfully logged in.

ssh connect windows complete

Connect with SSH MacOS

MacOS comes with a terminal, through which you can initialise the SSH connection directly.

1. Open Terminal.

open terminal macos

2. Enter the following command on the Terminal,

For custom SSH port.

ssh -p <Custom Port> username@ipaddress

For default SSH port i.e., 22.

ssh username@ipaddress
ssh command macos

3. For the first time, you might encounter security warning “Are you sure you want to continue connecting (yes/no/[fingerprint])? ” → Type YesHit Return.

security warning macos ssh

4. Enter the password for the user.

enter ssh password macos

5. Congratulations! You have successfully logged in.

how to connect ssh macos

Connect with SSH Linux

1. Just like Terminal, we used in MacOS, in the Linux as well we need to open Linux terminal and run the following command,

For custom SSH port.

ssh -p <Custom Port> username@ipaddress

For default SSH port i.e., 22.

ssh username@ipaddress
run ssh command linux

2. For the first time, you might encounter security warning “Are you sure you want to continue connecting (yes/no/[fingerprint])? ” → Type YesHit Enter.

security warning linux ssh

3. Enter the password for user.

enter password for the ssh user linux

4. Congratulations! You have successfully logged in.


Conclusion

Now that we’ve gone over how to connect with SSH from multiple platforms. Many third-party applications are used for the SSH connection, but we have covered this article’s handiest and ready to use application.

KnownHost offers 365 days a year, 24 hours a day, all 7 days of the week best in class technical support. A dedicated team ready to help you with requests should you need our assistance. You’re not using KnownHost for the best webhosting experience? Well, why not? Check with our Sales team to see what can KnownHost do for you in improving your webhosting experience.