<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ssh Archives | Clever Cloud</title>
	<atom:link href="https://www.clever.cloud/blog/tag/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.clever.cloud/blog/tag/ssh/</link>
	<description>From Code to Product</description>
	<lastBuildDate>Thu, 27 Nov 2025 15:23:36 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://cdn.clever-cloud.com/uploads/2023/03/cropped-cropped-favicon-32x32.png</url>
	<title>ssh Archives | Clever Cloud</title>
	<link>https://www.clever.cloud/blog/tag/ssh/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>SSH Gateway General Availability</title>
		<link>https://www.clever.cloud/blog/features/2017/09/18/ssh-gateway-ga/</link>
		
		<dc:creator><![CDATA[Laurent Doguin]]></dc:creator>
		<pubDate>Mon, 18 Sep 2017 11:55:00 +0000</pubDate>
				<category><![CDATA[Features]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[ssh]]></category>
		<guid isPermaLink="false">https://www2.cleverapps.io/wp/blog/technology/2017/09/18/ssh-gateway-ga/</guid>

					<description><![CDATA[<p><img width="1400" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/ssh-gateway-ga-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="ssh gateway ga 1" decoding="async" fetchpriority="high" srcset="https://cdn.clever-cloud.com/uploads/2021/08/ssh-gateway-ga-1.png 1400w, https://cdn.clever-cloud.com/uploads/2021/08/ssh-gateway-ga-1-300x116.png 300w, https://cdn.clever-cloud.com/uploads/2021/08/ssh-gateway-ga-1-1024x395.png 1024w, https://cdn.clever-cloud.com/uploads/2021/08/ssh-gateway-ga-1-768x296.png 768w, https://cdn.clever-cloud.com/uploads/2021/08/ssh-gateway-ga-1-1368x528.png 1368w" sizes="(max-width: 1400px) 100vw, 1400px" /></p>Today we announce the general availability of our SSH gateway. It was in Beta for a while but is now production ready. All of this means you can now SSH to your VMs \o/.

<span id="more-2902"></span>

If you are in a hurry, everything is explained in our <a href="https://www.clever.cloud/developers/doc/administrate/ssh-clever-tools/">documentation</a>. Now I would advise you to still read what follows because it's important.
<h2 id="friends-dont-let-friends-ssh-on-production">Friends don't let Friends SSH on production</h2>
Or do they? Delicate question. At Clever Cloud we get scared when an SSH connection is opened to a production VM. This usually means something is wrong. Then there are two options.
<ul>
 	<li>A user gets on the machine to debug something, fixes it on their code, pushes and redeploys.</li>
 	<li>A user gets on the machine to debug something, fixes it on the machine and calls it a day.</li>
</ul>
The second option is the one we dread. Since Clever Cloud embraces Immutable Infrastructure, all our machines can be replaced by new ones at any time. Which means that if our user logged in a machine with SSH and fixed something wrong on that very machine, all they did will be lost after a new deployment.

So as a reminder, we really want you to be careful and to always remember that doing things manually through SSH is a bad practice, that it should have been automated. It is however perfectly ok to use SSH to figure out what is wrong on the machine and then fix your code :)
<h2 id="how-does-it-work">How does it work?</h2>
You can SSH to an instance of your application in two different ways. You can use SSH or the <a href="https://www.clever.cloud/developers/clever-tools/getting_started/">clever-tools</a> CLI.
<h3 id="with-ssh">With SSH</h3>
Super simple, simply type <code>ssh -t ssh@sshgateway-clevercloud-customers.services.clever-cloud.com &lt;app_id&gt;</code> and you are in.
<h3 id="with-clever-tools">With Clever Tools</h3>
Even simpler, if you have our CLI tool installed:
<pre><code class="language-bash">clever ssh
&gt; Opening an ssh shell
&gt; bas@67fbf787-3518-47bb-abd9-2c2575844edd ~ $ 
</code></pre>
If multiple instances are running, you will be asked which one to use:
<pre><code class="language-bash">clever ssh
&gt; 1) Sleepy Ponita - Instance 0 - UP (11281f38-31ff-43a7-8595-a2d82630c32b)
&gt; 2) Tense Caterpie - Instance 1 - UP (b10d19d9-5238-408b-b038-3e32c7a301c2)
&gt; Your choice: 1
&gt; Opening an ssh shell
&gt; bas@11281f38-31ff-43a7-8595-a2d82630c32b ~ $
</code></pre>
And that's all! We hope you like that new feature and that you will put it to good use. Remember that with great power comes great responsibilities!]]></description>
										<content:encoded><![CDATA[<p><img width="1400" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/ssh-gateway-ga-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="ssh gateway ga 1" decoding="async" srcset="https://cdn.clever-cloud.com/uploads/2021/08/ssh-gateway-ga-1.png 1400w, https://cdn.clever-cloud.com/uploads/2021/08/ssh-gateway-ga-1-300x116.png 300w, https://cdn.clever-cloud.com/uploads/2021/08/ssh-gateway-ga-1-1024x395.png 1024w, https://cdn.clever-cloud.com/uploads/2021/08/ssh-gateway-ga-1-768x296.png 768w, https://cdn.clever-cloud.com/uploads/2021/08/ssh-gateway-ga-1-1368x528.png 1368w" sizes="(max-width: 1400px) 100vw, 1400px" /></p>Today we announce the general availability of our SSH gateway. It was in Beta for a while but is now production ready. All of this means you can now SSH to your VMs \o/.

<span id="more-2902"></span>

If you are in a hurry, everything is explained in our <a href="https://www.clever.cloud/developers/doc/administrate/ssh-clever-tools/">documentation</a>. Now I would advise you to still read what follows because it's important.
<h2 id="friends-dont-let-friends-ssh-on-production">Friends don't let Friends SSH on production</h2>
Or do they? Delicate question. At Clever Cloud we get scared when an SSH connection is opened to a production VM. This usually means something is wrong. Then there are two options.
<ul>
 	<li>A user gets on the machine to debug something, fixes it on their code, pushes and redeploys.</li>
 	<li>A user gets on the machine to debug something, fixes it on the machine and calls it a day.</li>
</ul>
The second option is the one we dread. Since Clever Cloud embraces Immutable Infrastructure, all our machines can be replaced by new ones at any time. Which means that if our user logged in a machine with SSH and fixed something wrong on that very machine, all they did will be lost after a new deployment.

So as a reminder, we really want you to be careful and to always remember that doing things manually through SSH is a bad practice, that it should have been automated. It is however perfectly ok to use SSH to figure out what is wrong on the machine and then fix your code :)
<h2 id="how-does-it-work">How does it work?</h2>
You can SSH to an instance of your application in two different ways. You can use SSH or the <a href="https://www.clever.cloud/developers/clever-tools/getting_started/">clever-tools</a> CLI.
<h3 id="with-ssh">With SSH</h3>
Super simple, simply type <code>ssh -t ssh@sshgateway-clevercloud-customers.services.clever-cloud.com &lt;app_id&gt;</code> and you are in.
<h3 id="with-clever-tools">With Clever Tools</h3>
Even simpler, if you have our CLI tool installed:
<pre><code class="language-bash">clever ssh
&gt; Opening an ssh shell
&gt; bas@67fbf787-3518-47bb-abd9-2c2575844edd ~ $ 
</code></pre>
If multiple instances are running, you will be asked which one to use:
<pre><code class="language-bash">clever ssh
&gt; 1) Sleepy Ponita - Instance 0 - UP (11281f38-31ff-43a7-8595-a2d82630c32b)
&gt; 2) Tense Caterpie - Instance 1 - UP (b10d19d9-5238-408b-b038-3e32c7a301c2)
&gt; Your choice: 1
&gt; Opening an ssh shell
&gt; bas@11281f38-31ff-43a7-8595-a2d82630c32b ~ $
</code></pre>
And that's all! We hope you like that new feature and that you will put it to good use. Remember that with great power comes great responsibilities!]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>New version of our CLI: clever-tools 0.7.0 released</title>
		<link>https://www.clever.cloud/blog/features/2017/02/09/clever-tools-release/</link>
		
		<dc:creator><![CDATA[Clement Delafargue]]></dc:creator>
		<pubDate>Thu, 09 Feb 2017 16:17:00 +0000</pubDate>
				<category><![CDATA[Features]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[ssh]]></category>
		<guid isPermaLink="false">https://www2.cleverapps.io/wp/blog/technology/2017/02/09/clever-tools-release/</guid>

					<description><![CDATA[<p><img width="1400" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/clever-tools-update-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="clever tools update 1" decoding="async" srcset="https://cdn.clever-cloud.com/uploads/2021/08/clever-tools-update-1.png 1400w, https://cdn.clever-cloud.com/uploads/2021/08/clever-tools-update-1-300x116.png 300w, https://cdn.clever-cloud.com/uploads/2021/08/clever-tools-update-1-1024x395.png 1024w, https://cdn.clever-cloud.com/uploads/2021/08/clever-tools-update-1-768x296.png 768w, https://cdn.clever-cloud.com/uploads/2021/08/clever-tools-update-1-1368x528.png 1368w" sizes="(max-width: 1400px) 100vw, 1400px" /></p><p>Since <a href="https://www.clever.cloud/blog/features/2015/09/21/public-api-available/">its first release</a>, we&#39;ve been quietly improving our CLI tool, <code>clever-tools</code>. Today, we&#39;ve released version <code>0.7.0</code>, with better support for node 7 and many improvements.</p>
<span id="more-2886"></span>

<h3 id="new-features-in-070">New features in 0.7.0</h3>
<p>The most important change is better support for node 7. The installation phase is now way faster for node 7 users.</p>
<p>Another important feature is <code>clever ssh</code>, available in preview mode for <code>clever-tools</code> users.  <code>clever ssh</code> allows you to ssh into a running instance for debugging purposes (eg. list files, view logs locally, …). Please get in touch with the <a href="mailto:support@clever-cloud.com">support</a> if you want to try it out.  We&#39;ll release complete documentation and examples once this feature hits GA.</p>
<h3 id="why-use-clever-tools">Why use Clever Tools?</h3>
<p>The web console is nice to use and doesn&#39;t require any installation. Why bother with <code>clever-tools</code> then? Here are a few use cases where <code>clever-tools</code> really shines.</p>
<h4 id="perfect-for-terminal-heavy-multitaskers">Perfect for terminal-heavy multitaskers</h4>
<p>If, like me, you&#39;re working on several projects in several terminal windows, going back to the web console to check logs and deployments can get tedious. With <code>clever-tools</code>, you can work on different projects without ever leaving your comfy terminal window. You can launch 5 deployments in parallel and see how they go, side-by-side without having to switch from app to app in your browser.</p>
<h4 id="fine-grained-access-to-logs">Fine-grained access to logs</h4>
<p>The web console is great for displaying logs as they come, but reading old logs requires a lot of scrolling. If you want to inspect logs around a specific date/time to investigate e.g. a user report, worry not:</p>
<pre><code class="language-bash">clever logs --after &quot;2017-02-08T08:28&quot; --before &quot;2017-02-08T08:32&quot;
</code></pre>
<p>Also, if you want to search for a specific term you can just <code>grep</code> the output:</p>
<pre><code class="language-bash">clever logs | grep NullPointerException
</code></pre>
<p>The best part: new lines will appear in real time.</p>
<h4 id="no-ssh-configuration-necessary">No SSH configuration necessary</h4>
<p>From version <code>0.6.0</code> upwards, <code>clever deploy</code> pushes over HTTPS and doesn&#39;t require SSH configuration. If your platform makes ssh configuration more difficult than it should be (I&#39;m looking at you, Windows), then just use <code>clever deploy</code>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img width="1400" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/clever-tools-update-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="clever tools update 1" decoding="async" loading="lazy" srcset="https://cdn.clever-cloud.com/uploads/2021/08/clever-tools-update-1.png 1400w, https://cdn.clever-cloud.com/uploads/2021/08/clever-tools-update-1-300x116.png 300w, https://cdn.clever-cloud.com/uploads/2021/08/clever-tools-update-1-1024x395.png 1024w, https://cdn.clever-cloud.com/uploads/2021/08/clever-tools-update-1-768x296.png 768w, https://cdn.clever-cloud.com/uploads/2021/08/clever-tools-update-1-1368x528.png 1368w" sizes="auto, (max-width: 1400px) 100vw, 1400px" /></p><p>Since <a href="https://www.clever.cloud/blog/features/2015/09/21/public-api-available/">its first release</a>, we&#39;ve been quietly improving our CLI tool, <code>clever-tools</code>. Today, we&#39;ve released version <code>0.7.0</code>, with better support for node 7 and many improvements.</p>
<span id="more-2886"></span>

<h3 id="new-features-in-070">New features in 0.7.0</h3>
<p>The most important change is better support for node 7. The installation phase is now way faster for node 7 users.</p>
<p>Another important feature is <code>clever ssh</code>, available in preview mode for <code>clever-tools</code> users.  <code>clever ssh</code> allows you to ssh into a running instance for debugging purposes (eg. list files, view logs locally, …). Please get in touch with the <a href="mailto:support@clever-cloud.com">support</a> if you want to try it out.  We&#39;ll release complete documentation and examples once this feature hits GA.</p>
<h3 id="why-use-clever-tools">Why use Clever Tools?</h3>
<p>The web console is nice to use and doesn&#39;t require any installation. Why bother with <code>clever-tools</code> then? Here are a few use cases where <code>clever-tools</code> really shines.</p>
<h4 id="perfect-for-terminal-heavy-multitaskers">Perfect for terminal-heavy multitaskers</h4>
<p>If, like me, you&#39;re working on several projects in several terminal windows, going back to the web console to check logs and deployments can get tedious. With <code>clever-tools</code>, you can work on different projects without ever leaving your comfy terminal window. You can launch 5 deployments in parallel and see how they go, side-by-side without having to switch from app to app in your browser.</p>
<h4 id="fine-grained-access-to-logs">Fine-grained access to logs</h4>
<p>The web console is great for displaying logs as they come, but reading old logs requires a lot of scrolling. If you want to inspect logs around a specific date/time to investigate e.g. a user report, worry not:</p>
<pre><code class="language-bash">clever logs --after &quot;2017-02-08T08:28&quot; --before &quot;2017-02-08T08:32&quot;
</code></pre>
<p>Also, if you want to search for a specific term you can just <code>grep</code> the output:</p>
<pre><code class="language-bash">clever logs | grep NullPointerException
</code></pre>
<p>The best part: new lines will appear in real time.</p>
<h4 id="no-ssh-configuration-necessary">No SSH configuration necessary</h4>
<p>From version <code>0.6.0</code> upwards, <code>clever deploy</code> pushes over HTTPS and doesn&#39;t require SSH configuration. If your platform makes ssh configuration more difficult than it should be (I&#39;m looking at you, Windows), then just use <code>clever deploy</code>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
