<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Ssh%3A_remote_execute_%28en%29</id>
	<title>Ssh: remote execute (en) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Ssh%3A_remote_execute_%28en%29"/>
	<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Ssh:_remote_execute_(en)&amp;action=history"/>
	<updated>2026-04-20T20:16:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=Ssh:_remote_execute_(en)&amp;diff=71808&amp;oldid=prev</id>
		<title>Unknown user: Created page with &quot;example   ssh user1@server1 command1  ssh user1@server1 &#039;command2&#039;  ssh user1@server1 &#039;command1 | command2&#039;   ssh user1@server1 date  ssh user1@server1 &#039;df -H&#039;  ssh root@nas01...&quot;</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Ssh:_remote_execute_(en)&amp;diff=71808&amp;oldid=prev"/>
		<updated>2025-01-07T02:11:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;example   ssh user1@server1 command1  ssh user1@server1 &amp;#039;command2&amp;#039;  ssh user1@server1 &amp;#039;command1 | command2&amp;#039;   ssh user1@server1 date  ssh user1@server1 &amp;#039;df -H&amp;#039;  ssh root@nas01...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;example&lt;br /&gt;
&lt;br /&gt;
 ssh user1@server1 command1&lt;br /&gt;
 ssh user1@server1 &amp;#039;command2&amp;#039;&lt;br /&gt;
 ssh user1@server1 &amp;#039;command1 | command2&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 ssh user1@server1 date&lt;br /&gt;
 ssh user1@server1 &amp;#039;df -H&amp;#039;&lt;br /&gt;
 ssh root@nas01 uname -mrs&lt;br /&gt;
 ssh root@nas01 lsb_release -a&lt;br /&gt;
&lt;br /&gt;
 ssh -t user@server &amp;quot;time sudo /home/user/script.sh&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
&lt;br /&gt;
 -t   - provides terminal access if the script requests a password&lt;br /&gt;
 sudo - to allow execution as superuser&lt;br /&gt;
&lt;br /&gt;
==Copy id_dsa.pub &amp;amp; id_rsa.pub==&lt;br /&gt;
&lt;br /&gt;
Ensure id_dsa.pub or id_rsa.pub is copied to the remote server,&lt;br /&gt;
&lt;br /&gt;
 ssh -l remoteuser remoteserver.com &amp;#039;mkdir .ssh&amp;#039;&lt;br /&gt;
 ssh -l remoteuser remoteserver.com &amp;#039;touch ~/.ssh/authorized_keys&amp;#039;&lt;br /&gt;
 cat ~/.ssh/id_dsa.pub | ssh -l remoteuser remoteserver.com &amp;#039;cat &amp;gt;&amp;gt; ~/.ssh/authorized_keys&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==Interesting Links==&lt;br /&gt;
&lt;br /&gt;
* [[ssh]]&lt;br /&gt;
* [[ssh - automatic login]]&lt;br /&gt;
* [[ssh - executing commands remotely]]&lt;/div&gt;</summary>
		<author><name>Unknown user</name></author>
	</entry>
</feed>