How To SSH into a Linux Server

In the dynamic landscape of modern computing, remote server management has become an indispensable skill for individuals and organizations alike. Whether you’re a system administrator, a developer, or an enthusiast exploring the realms of Linux, the ability to securely access a remote Linux server is a fundamental aspect of your journey. This article aims to demystify the process of SSH (Secure Shell) access—a powerful technique that enables you to connect to a Linux server from virtually anywhere in the world. By the end of this guide, you’ll have the confidence and knowledge to traverse the virtual pathways and seamlessly establish connections that facilitate efficient server administration. So, if you’re ready to unlock the doors to remote Linux server interaction, let’s delve into the world of SSH with clarity and purpose.

Example

  • IP: 192.168.100.100
  • Port default: 22
  • Change Port: 2023

1. Using OpenSSH on Linux or macOS:

Open Terminal: Open the terminal on your computer.

  • Connect using the default port (22):
ssh username@192.168.100.100
  • Connect using the changed port (2023):
ssh -p 2023 username@192.168.100.100

2. Using PuTTY on Windows:

  1. Open PuTTY: Open the PuTTY application after it’s been installed.
  2. Configure SSH connection with the default port (22):
    • In the “Host Name (or IP address)” field, enter the IP address: 192.168.100.100
    • Ensure that the “Port” is set to 22.
    • Select “SSH” on the left side.
  3. Configure SSH connection with the changed port (2023):
    • Create a new configuration or use a saved one.
    • In the “Host Name (or IP address)” field, enter the IP address: 192.168.100.100
    • Change the “Port” to 2023.
    • Select “SSH” on the left side.
  4. Connect: Click the “Open” button to initiate the connection.
  5. Authentication: After the connection is opened, a terminal window will appear and prompt you to enter the username. Once you input the username, you’ll be asked for the password of the user account on the server.

Please note: In all the examples above, make sure to replace with the actual username on the server.username

Knowledge Base Linux
Knowledge Base Linux

Kblinux is an abbreviation for the phrase "Knowledge Base Linux." The website shares instructional articles related to the Linux system. I hope my small blog will reach many people who share the same passion for Linux.

Articles: 36

Leave a Reply

Your email address will not be published. Required fields are marked *