Connect with Distant Servers Utilizing SSH on Your Chromebook

You can use SSH to connect to a server remotely from your system command line. Here's how you can use SSH on your Chromebook.

If you need to connect to a remote server, SSH is the best way to do it. Chromebook users can also use SSH. Setup is easy and takes just a few clicks.

Use the Chrome SSH extension

The easiest way to set up SSH on your Chromebook is to install the Secure Shell extension. This extension replaces the Chrome SSH app. The latter, while still available for Chromebook users on the web store, will no longer be available for regular users in 2021 and for corporate users in 2022.

Instead, you can install the Secure Shell Chrome extension. It works like the old app and any other remote terminal app like PuTTY that you may have used on Windows.

Click the Secure Shell logo to set up the connection. A menu will appear. Press the Connect dialog box Possibility. A menu will ask you to enter the parameters you will use to connect to your server, including the address of the server and your username. If you created an SSH key on another computer, you can use the to import it Import Button.

Once you have entered your information and successfully logged into your remote server, you can start your connection at any time by clicking on it in the menu.

This extension also supports mosh sessions. Mosh is great because you can stay connected even if your wireless connection goes down or you shut down your laptop. Just click the stylized one Mosh Option and a menu similar to the connection setup menu are displayed. Just fill in the same information and you will have a mosh connection from your browser.

SSH on Linux

A more flexible option on a Chromebook is to use SSH on Linux if your device supports it. That way, you don't have to rely on a browser extension to connect to a remote server.

If you haven't already set up the Linux environment on Chrome OS, open it the settings and go to Developer> Linux Development Environment (Beta). Chrome OS will set up a Debian Linux environment called Crostini.

The SSH client is already installed by default on this system. Use the same commands to log into your server as you would on any other Linux command line:

ssh user @ server

Just replace it user and server with your username and the address of the server you want to connect to. If your username is the same on your local computer and the remote computer, you can omit the username because SSH only assumes that your local username is the same on the remote server.

Connected: How to Set Up SSH on Linux and Test Your Setup: A Beginner's Guide

Generate an SSH key

One of the most powerful features of SSH is the ability to generate a public / private key pair that you can use to securely log into your remote server instead of just using a password.

The key pair works on the principle of a private and public key. The private key is unique to your computer and remains on your computer. You should keep it private. On the other hand, you can copy the public key to remote servers.

Enter the following to generate a key:

ssh-keygen

This will create the key pair. You will also be asked to enter a passphrase. It should be more complex than a password. Alternatively, you can just leave it blank.

Use the ssh-copy-id command to copy the public key to the server:

ssh-copy-id server user @ server

You can also manually copy and paste your public key on the remote server. Your public key is located at .ssh / id_rsa.pub. Copy the content of this file .ssh / authorized_buttons File on the remote server. Using ssh-copy-id is much easier and faster than copying the key pair manually.

You can then log in to the server with your passphrase. If you leave the passphrase blank, you can log in without a password.

You can do SSH from your Chromebook

You now know how to use SSH to log into a remote server from a Chromebook using a browser extension or the standard SSH client on Linux.

To unleash the true power of remote sessions, you can set up Mosh and Tmux together. Not only does this make remote computing much easier, it also allows you to run terminal processes without worrying about them.

Get better remote sessions on Linux with Mosh and Tmux

Enhance your remote access to Linux devices over SSH with Mosh and run multiple sessions with Tmux.

Continue reading

About the author

David Delony
(13 articles published)

David is a freelance writer living in the Pacific Northwest but originally from the Bay Area. He has been a technology enthusiast since childhood. David's interests include reading, watching quality TV shows and movies, retro games, and collecting records.

More
By David Delony

Subscribe to our newsletter

Sign up for our newsletter to receive tech tips, reviews, free e-books, and exclusive offers!

One more step …!

Please confirm your email address in the email we just sent you.

Leave a Reply

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