2 weeks ago

How to Use the Chrome Browser Secure Shell App to SSH into Remote Devices « Null Byte :: WonderHowTo

Many guides on Null Byte require using the Secure Shell (SSH) to connect to a remote server. Unfortunately for beginners, learning to use SSH can become a confusing mix of third-party programs as well as native OS support. For Chrome OS users, using SSH is usually even more difficult. We’ll fix This kind of by using the Chrome Secure Shell app to establish an SSH connection coming from any device of which can run a Chrome browser.

The Secure Shell Chrome application provides PuTTy-like functionality for those of which are familiar with the third-party Windows software. The app is usually an xterm-compatible terminal emulator as well as stand-alone SSH client for Chrome. of which works by combining the SSH command ported to the Google Native Client with the hterm terminal emulator, which allows the app to provide a Secure Shell client within the browser without relying on external proxies.

In just a few minutes, you’ll be able to establish an SSH connection coming from your Chrome browser. For obvious reasons, you’re going to need to install the Chrome browser, so make sure to download Chrome if you don’t already have of which installed.

Don’t Miss: How to Enable the completely new Native SSH Client on Windows 10

Step 1: Install & Open the Chrome Secure Shell App

To begin, we need to download the Secure Shell app coming from the Chrome Web Store. After navigating to the link in your Chrome browser, click on the “Add To Chrome” button from the top right-hand corner of the popup window.

Following of which, a dialog window will appear asking you to confirm of which you want to add the app. Click “Add app” to install the application.

The app will then begin downloading, as well as of which shouldn’t take more than a minute or two to finish installing. If you’re still from the Chrome Web Store, then a completely new “Launch App” button will appear where the “Add To Chrome” button was formerly.

In addition, you can also open the SSH app by navigating to the apps screen. This kind of can be done by opening a completely new tab from the Chrome browser as well as clicking on “Apps” from the top left-hand corner or putting chrome://apps/ into the search bar at the top of the screen. Once there, you should see the “Secure Shell” icon in your list of apps. Click the icon to open the app.

Another method (as well as the easiest) to open a Secure Shell is usually to simply type SSH into the search bar at the top of the browser, as well as then press space as well as enter, which will directly open a Secure Shell tab.

Step 2: Connect Using the App

right now of which we possess the Secure Shell app open as well as running, of which’s simple to establish an SSH connection. from the SSH screen, there will be a window with several settings available. Look at the first setting, as well as ensure of which “completely new Connection” is usually selected by clicking on of which in order of which of which looks like the image below.

Next, type a name for your completely new connection from the top text box which says “username@hostname or free-form text.” This kind of name can be anything, so try to pick the most accurate name of which will help you remember which connection goes to which device. For example, you might use “retroPie” or “Basement media server,” as even a somewhat specific name like “Raspberry Pi” can become confusing when you have more than one Pi.

Alternatively, you can simply begin typing the connection into the name bar, as well as of which will automatically fill from the proper boxes below. Otherwise, you will need to fill each box in manually.

from the “Username” box, you should put the username for the server you’re connecting to. Some common default usernames are “root” as well as “pi.”

The hostname should be the web domain or IP address of the server you wish to connect to. In my case, I’m connecting to my Android phone, which is usually on my local Wi-Fi network. Because This kind of is usually the case, I’ll be using use my Android phone’s local IP address of “” After of which, a port needs to be selected. The default port number for SSH connections is usually 22, yet This kind of can be easily changed, so your server may use a different port.

Once all of the required information has been entered, click the “Connect” button at the bottom of the window or press enter. After once you make a connection, you’ll only need to select the name of the connection from the box to connect again, as the app will remember all of the login details.

Perhaps the most exciting feature to use with the Secure Shell app is usually of which allows you to establish an SSH connection in a matter of seconds by simply typing from the search bar at the top of the browser. To do This kind of, you can use the following format, which is usually the same as you might use in a macOS or Linux terminal window.

ssh username@host:port

Step 3: Log into Your Remote Server

Upon a successful connection, you will see the always-familiar terminal window appear. once you connect to a server, you will be provided that has a key fingerprint of which you need to accept. This kind of fingerprint is usually used for easy identification as well as verification of which the server you are connecting to is usually legitimate.

The fingerprint should be the same every time you log in to the same system. If you ever get a message of which the fingerprint has changed, of which’s a warning sign of which someone is usually interfering with the connection. After accepting the fingerprint, you’ll be prompted to enter your credentials, just like any different SSH connection.

of which’s of which! You’ve successfully used your Chrome browser to establish a SSH connection.

Step 4: Enable Key-Based Authentication

Passwords aren’t the only way to authenticate an SSH connection. The different most common method is usually called public key authentication. This kind of method uses a cryptographic key pair, one public as well as one private, in place of a password. The public key is usually configured on the server to authorize server access to those users that has a copy of the private key.

Using key-based authentication adds an extra layer of convenience when a human is usually connecting by eliminating the requirement to input a password. The key exchange is usually considered to be the password instead. Key authentication is usually also the de-facto way to set up an automated SSH connection, such as automated file transfers.

Secure Shell includes the ability to employ key-based authentication, which of which calls “identity files.” To import identity files coming from the connection screen, click on “Import” as well as select your public as well as private keys.

The private key should not have a file extension, while the public key should possess the PUB extension. For example, you might have “id_rsa” as your private key as well as “id_rsa.pub” as your public key.

If the key pair is usually stored in a PEM file, you must split of which into two files before importing. This kind of can be by opening the PEM file in a text editor as well as copy as well as pasting each key into a completely new document. Without doing This kind of, the app will not accept of which. The PEM file will look something like This kind of:



Save the completely new documents under the original filename. For example, “id_rsa.pub” might be the file name for the public key.

If you ever wish to delete any of these keys because they are no longer valid, navigate to the connection screen, as well as select the identity associated with of which key coming from the drop-down menu. right now, press the Delete key. This kind of will remove both the private as well as public key files coming from the HTML5 filesystem.

SSH Anywhere of which Chrome Can Run

The Secure Shell Chrome app is usually a wonderful little tool to make the lives of developers, programmers, as well as hackers easier when connecting to remote devices. The ability to use SSH directly coming from your Chrome browser is usually not a groundbreaking feat, yet of which adds cross-platform convenience to using SSH of which cannot be understated. For Chrome OS users in particular, the Secure Shell app is usually the best way for you to be able to establish an SSH connection.

Thanks for reading! If you have any questions, you can ask me here or on Twitter @The_Hoid.

Cover photo as well as screenshots by Hoid/Null Byte

Leave a Comment

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

16 − 1 =