# SSH to Linux Compute Instance

## Prerequisite

* You must have a Linux-based Compute Instance with an attached External IP. The associated security group must allow inbound traffic on TCP port 22. (See [How to Launch an Instance](launching-compute-instance)).

## **Connecting via SSH**

{% content-ref url="ssh-to-linux-compute-instance/windows-client-using-key-pair" %}
[windows-client-using-key-pair](ssh-to-linux-compute-instance/windows-client-using-key-pair)
{% endcontent-ref %}

{% content-ref url="ssh-to-linux-compute-instance/windows-client-using-password" %}
[windows-client-using-password](ssh-to-linux-compute-instance/windows-client-using-password)
{% endcontent-ref %}

{% content-ref url="ssh-to-linux-compute-instance/macos-linux-using-key-pairs" %}
[macos-linux-using-key-pairs](ssh-to-linux-compute-instance/macos-linux-using-key-pairs)
{% endcontent-ref %}

{% content-ref url="ssh-to-linux-compute-instance/macos-linux-using-password" %}
[macos-linux-using-password](ssh-to-linux-compute-instance/macos-linux-using-password)
{% endcontent-ref %}
