<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://agora.nasqueron.org/index.php?action=history&amp;feed=atom&amp;title=Operations_grimoire%2FRecommended_SSH_configuration</id>
	<title>Operations grimoire/Recommended SSH configuration - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://agora.nasqueron.org/index.php?action=history&amp;feed=atom&amp;title=Operations_grimoire%2FRecommended_SSH_configuration"/>
	<link rel="alternate" type="text/html" href="https://agora.nasqueron.org/index.php?title=Operations_grimoire/Recommended_SSH_configuration&amp;action=history"/>
	<updated>2026-04-25T02:43:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0-alpha</generator>
	<entry>
		<id>https://agora.nasqueron.org/index.php?title=Operations_grimoire/Recommended_SSH_configuration&amp;diff=2034&amp;oldid=prev</id>
		<title>Dereckson: Created page with &quot;== Consolidated OpenSSH configuration ==  The introduction of ProxyJump has simplified the bastion configuration since OpenSSH version 7.5:  &lt;syntaxhighlight&gt; Host *.nasqueron.drake     ProxyJump windriver.nasqueron.org  Host 172.27.27.*      ProxyJump windriver.nasqueron.org &lt;/syntaxhighlight&gt;  Older version of OpenSSH can use instead: &lt;code&gt;ProxyCommand &quot;ssh -W %h:%p windriver.nasqueron.org&quot;&lt;/code&gt;  == Use bastion as proxy ==  To connect on a server where the port 22 i...&quot;</title>
		<link rel="alternate" type="text/html" href="https://agora.nasqueron.org/index.php?title=Operations_grimoire/Recommended_SSH_configuration&amp;diff=2034&amp;oldid=prev"/>
		<updated>2025-10-02T21:24:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Consolidated OpenSSH configuration ==  The introduction of ProxyJump has simplified the bastion configuration since OpenSSH version 7.5:  &amp;lt;syntaxhighlight&amp;gt; Host *.nasqueron.drake     ProxyJump windriver.nasqueron.org  Host 172.27.27.*      ProxyJump windriver.nasqueron.org &amp;lt;/syntaxhighlight&amp;gt;  Older version of OpenSSH can use instead: &amp;lt;code&amp;gt;ProxyCommand &amp;quot;ssh -W %h:%p windriver.nasqueron.org&amp;quot;&amp;lt;/code&amp;gt;  == Use bastion as proxy ==  To connect on a server where the port 22 i...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Consolidated OpenSSH configuration ==&lt;br /&gt;
&lt;br /&gt;
The introduction of ProxyJump has simplified the bastion configuration since OpenSSH version 7.5:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
Host *.nasqueron.drake&lt;br /&gt;
    ProxyJump windriver.nasqueron.org&lt;br /&gt;
&lt;br /&gt;
Host 172.27.27.* &lt;br /&gt;
    ProxyJump windriver.nasqueron.org&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Older version of OpenSSH can use instead: &amp;lt;code&amp;gt;ProxyCommand &amp;quot;ssh -W %h:%p windriver.nasqueron.org&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Use bastion as proxy ==&lt;br /&gt;
&lt;br /&gt;
To connect on a server where the port 22 isn&amp;#039;t publicly accessible, use a development server as a bastion.&lt;br /&gt;
&lt;br /&gt;
Do you do extensive work on the development server?&lt;br /&gt;
* YES -&amp;gt; a good workflow is to create a tmux panel for your remote server connection&lt;br /&gt;
* NO -&amp;gt; use the development server as proxy&lt;br /&gt;
&lt;br /&gt;
All the following works:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
# Connect first to the bastion. Then, to the destination server (useful as tmux pane)&lt;br /&gt;
$ ssh windriver.nasqueron.org&lt;br /&gt;
$ ssh docker-002&lt;br /&gt;
&lt;br /&gt;
# Connect with ProxyJump option (OpenSSH 7.5+)&lt;br /&gt;
$ ssh -J windriver.nasqueron.org 172.27.27.5&lt;br /&gt;
&lt;br /&gt;
# Connect with ProxyCommand option for older OpenSSH clients&lt;br /&gt;
$ ssh -o ProxyCommand=&amp;quot;ssh -W %h:%p windriver.nasqueron.org&amp;quot; docker-002.nasqueron.drake&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note you can generally use short names, fully qualified names or IP. If a short name doesn&amp;#039;t work, but the IP works, the /etc/hosts of the bastion needs to be updated.&lt;/div&gt;</summary>
		<author><name>Dereckson</name></author>
	</entry>
</feed>