<?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>Linux T&#38;T &#187; Ssh</title>
	<atom:link href="http://linux.wxs.ro/category/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://linux.wxs.ro</link>
	<description>WladyX’s collection of linux tips&#38;tricks</description>
	<lastBuildDate>Fri, 27 Jan 2012 16:42:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SSH Reverse DNS Lookup Disable</title>
		<link>http://linux.wxs.ro/2011/12/15/ssh-reverse-dns-lookup-disable/</link>
		<comments>http://linux.wxs.ro/2011/12/15/ssh-reverse-dns-lookup-disable/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 18:36:04 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Ssh]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=1781</guid>
		<description><![CDATA[/etc/ssh/sshd_config: UseDNS no source]]></description>
			<content:encoded><![CDATA[<p>/etc/ssh/sshd_config:</p>
<p><code>UseDNS no</code></p>
<p><a href="http://www.yaleman.org/2007/12/09/ssh-reverse-dns-lookup-disable/">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2011/12/15/ssh-reverse-dns-lookup-disable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ssh-keygen &amp; ssh-copy-id</title>
		<link>http://linux.wxs.ro/2011/12/14/ssh-keygen-ssh-copy-id/</link>
		<comments>http://linux.wxs.ro/2011/12/14/ssh-keygen-ssh-copy-id/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 16:19:01 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Ssh]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=1778</guid>
		<description><![CDATA[ssh-keygen ssh-copy-id -i ~/.ssh/id_rsa.pub root@ip]]></description>
			<content:encoded><![CDATA[<p><code>ssh-keygen<br />
ssh-copy-id -i ~/.ssh/id_rsa.pub root@ip</code></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2011/12/14/ssh-keygen-ssh-copy-id/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSHplus</title>
		<link>http://linux.wxs.ro/2011/10/14/sshplus/</link>
		<comments>http://linux.wxs.ro/2011/10/14/sshplus/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 09:17:54 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Cool Apps]]></category>
		<category><![CDATA[Ssh]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=1687</guid>
		<description><![CDATA[sshplus rename to sshplus.py If there is no icon, change: ind = appindicator.Indicator("simplestarter", "network-transmit-receive", source source2]]></description>
			<content:encoded><![CDATA[<p><a href="http://linux.wxs.ro/wp-content/uploads/2011/10/sshplus.txt">sshplus</a> rename to sshplus.py</p>
<p>If there is no icon, change:<br />
<code> ind = appindicator.Indicator("simplestarter", "network-transmit-receive",</code></p>
<p><a href="http://www.gulecha.org/2011/07/29/sshplus-a-sshmenu-compatible-appindicator/">source</a> <a href="http://www.bheil.net/blog/2011/07/07/simplestarter-simple-application-starter-appindicator">source2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2011/10/14/sshplus/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Force ssh to ask for password</title>
		<link>http://linux.wxs.ro/2011/09/22/force-ssh-to-ask-for-password/</link>
		<comments>http://linux.wxs.ro/2011/09/22/force-ssh-to-ask-for-password/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 10:16:36 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Ssh]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=1603</guid>
		<description><![CDATA[ssh -o PreferredAuthentications=password user@host.com source]]></description>
			<content:encoded><![CDATA[<p><code>ssh -o PreferredAuthentications=password user@host.com</code></p>
<p><a href="http://blog.maxgarfinkel.com/archives/205">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2011/09/22/force-ssh-to-ask-for-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rsync your Android</title>
		<link>http://linux.wxs.ro/2011/08/05/rsync-your-android/</link>
		<comments>http://linux.wxs.ro/2011/08/05/rsync-your-android/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 11:17:30 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Ssh]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=1555</guid>
		<description><![CDATA[In combination with dropbear or QuickSSH rsync allows you to back up your android. Here&#8217;s how to. Getting the binaries You can find the binaries here. Download: wget http://adqmisc.googlecode.com/svn/trunk/androidutils/rsync/rsync-3.0.6-arm-softfloat-linux-gnueabi.gz Decompress: zcat rsync-3.0.6-arm-softfloat-linux-gnueabi.gz &#62; rsync Copy rsync to your phone, make sure it&#8217;s in the PATH and chmod 755 rsync. I have put mind to QuickSSH&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>In combination with <a title="blog:running-dropbear-on-android" href="http://cri.ch/sven/doku.php/blog/running-dropbear-on-android">dropbear</a> or <a title="blog:configuring-quicksshd-for-pub:privkey" href="http://cri.ch/sven/doku.php/blog/configuring-quicksshd-for-pub/privkey">QuickSSH</a> rsync allows you to back up your android. Here&#8217;s how to.</p>
</div>
<h2><a id="getting-the-binaries" name="getting-the-binaries"></a>Getting the binaries</h2>
<div>
<p>You can find the binaries <a title="http://code.google.com/p/rsyncdroid/" href="http://code.google.com/p/rsyncdroid/" rel="nofollow">here</a>.</p>
<ol>
<li>
<div>Download:</div>
</li>
</ol>
<p>wget <a title="http://adqmisc.googlecode.com/svn/trunk/androidutils/rsync/rsync-3.0.6-arm-softfloat-linux-gnueabi.gz" href="http://adqmisc.googlecode.com/svn/trunk/androidutils/rsync/rsync-3.0.6-arm-softfloat-linux-gnueabi.gz" rel="nofollow">http://adqmisc.googlecode.com/svn/trunk/androidutils/rsync/rsync-3.0.6-arm-softfloat-linux-gnueabi.gz</a></p>
<ol>
<li>
<div>Decompress:</div>
</li>
</ol>
<p>zcat rsync-3.0.6-arm-softfloat-linux-gnueabi.gz &gt; rsync</p>
<ol>
<li>
<div>Copy <code>rsync</code> to your phone, make sure it&#8217;s in the <code>PATH</code> and <code>chmod 755 rsync</code>. I have put mind to QuickSSH&#8217;s homedir (<code>/data/data/com.teslacoilsw.quicksshd/dropbear</code> or <code>/data/data/berserker.android.apps.sshdroid/dropbear</code>).</div>
</li>
</ol>
</div>
<h4><a id="examples" name="examples"></a>Examples</h4>
<p>Here are a few examples that can be scripted.</p>
<p>Initiate a backup from your phone:</p>
<pre>  rsync  -e "ssh -p &lt;port&gt;" -vrt &lt;local-source&gt; &lt;user&gt;@&lt;server&gt;:/&lt;path&gt;
  e.g. rsync -e "ssh -p 443" -vrt /mnt/sdcard/astrid me@&lt;my-ip&gt;:/home/me/temp</pre>
<p>Initiate a backup from your server:</p>
<pre>  rsync rsync -vrt -e "ssh -p &lt;port&gt;" &lt;user&gt;@&lt;phone&gt;:/&lt;path&gt; &lt;local-dest&gt;
  e.g. rsync -vrt -e "ssh -p 2222" &lt;user&gt;@android:/mnt/sdcard/astrid /home/me/temp

<a href="http://cri.ch/sven/doku.php/blog/rsync-your-android">source</a> <a href="http://forum.xda-developers.com/showpost.php?p=11514133&amp;postcount=26">source2</a></pre>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2011/08/05/rsync-your-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring QuickSSHD for pub/privkey</title>
		<link>http://linux.wxs.ro/2011/08/05/configuring-quicksshd-for-pubprivkey/</link>
		<comments>http://linux.wxs.ro/2011/08/05/configuring-quicksshd-for-pubprivkey/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 11:10:56 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Ssh]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=1553</guid>
		<description><![CDATA[1. Create a dsa-key-pair on your linux client ssh-keygen -t dsa -f id_dsa-android Note: I named the key id_dsa-android because that&#8217;s my own convention 2. Copy the public key to your Android device scp -P 2222 id_dsa-android.pub &#60;your-ip-goes-here&#62;:/sdcard Note: This assumes you have password enabled and sshd running on port 2222 3. Validate the public [...]]]></description>
			<content:encoded><![CDATA[<p><strong>1. Create a dsa-key-pair on your linux client</strong></p>
<pre>  ssh-keygen -t dsa -f id_dsa-android</pre>
<p><em>Note</em>: I named the key <code>id_dsa-android</code> because that&#8217;s my own convention</p>
<p><strong>2. Copy the public key to your Android device</strong></p>
<pre>  scp -P 2222 id_dsa-android.pub &lt;your-ip-goes-here&gt;:/sdcard</pre>
<p><em>Note</em>: This assumes you have password enabled and sshd running on port 2222</p>
<p><strong>3. Validate the public key</strong></p>
<pre>  cat /sdcard/id_dsa-android.pub &gt;&gt;
  /data/data/com.teslacoilsw.quicksshd/home/.ssh/authorized_keys</pre>
<p><em>Note</em>: Validating means in this case to copy the pubkey to <code>authorized_keys</code> (it&#8217;s located in <code>/data/data/com.teslacoilsw.quicksshd/home/.ssh</code>)</p>
<p><strong>4. Configure</strong> Go to your QuickSSHD settings and remove the checkbox <code>Password</code> and check <code>Shared Keys</code> (If you did right the key added to <code>authorized_keys</code> should be listed right under the checkbox.</p>
<p><strong>5. Test</strong></p>
<pre>  ssh -i &lt;your-home-goes-here&gt;/.ssh/id_dsa-android -p 2222 &lt;your-ip-goes-here&gt;</pre>
<p>If everything went fine you should get:</p>
<pre>  Enter passphrase for key '/home/sven/.ssh/id_dsa-android'

<a href="http://cri.ch/sven/doku.php/blog/configuring-quicksshd-for-pub/privkey">source</a></pre>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2011/08/05/configuring-quicksshd-for-pubprivkey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chrooted SFTP accounts without shell access</title>
		<link>http://linux.wxs.ro/2011/03/24/chrooted-sftp-accounts-without-shell-access/</link>
		<comments>http://linux.wxs.ro/2011/03/24/chrooted-sftp-accounts-without-shell-access/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 10:29:06 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Ssh]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=1374</guid>
		<description><![CDATA[Create a user group, e.g. sftponly Add users to that group Add a corresponding Match directive to sshd&#8216;s configuration in /etc/ssh/sshd_config: Subsystem sftp internal-sftp Match Group sftponly ChrootDirectory %h AllowTCPForwarding no X11Forwarding no ForceCommand internal-sftp source]]></description>
			<content:encoded><![CDATA[<ol>
<li>Create a user group, e.g. <strong>sftponly</strong></li>
<li>Add users to that group</li>
<li>Add a corresponding <strong>Match</strong> directive to <strong>sshd</strong>&#8216;s configuration in <em>/etc/ssh/sshd_config</em>:</li>
</ol>
<pre>Subsystem sftp internal-sftp

Match Group sftponly
        ChrootDirectory <strong>%h</strong>
        AllowTCPForwarding no
        X11Forwarding no
        ForceCommand <strong>internal-sftp

</strong><a href="http://www.howtoforge.com/setting-up-sftp-in-a-hurry-for-file-uploads" target="_blank">source</a><strong></strong></pre>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2011/03/24/chrooted-sftp-accounts-without-shell-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sshfs</title>
		<link>http://linux.wxs.ro/2011/01/26/sshfs/</link>
		<comments>http://linux.wxs.ro/2011/01/26/sshfs/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 10:11:05 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Ssh]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=1300</guid>
		<description><![CDATA[add user to fuse group $ sshfs server:/path/ /media/path/ source]]></description>
			<content:encoded><![CDATA[<p>add user to fuse group<br />
<code>$ sshfs server:/path/ /media/path/</code></p>
<p><a href="http://linux.dsplabs.com.au/forums/ubuntu-linux-help/ubuntu-fuse-failed-to-exec-fusermount-permission-denied-t70.html">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2011/01/26/sshfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pssh</title>
		<link>http://linux.wxs.ro/2011/01/24/pssh/</link>
		<comments>http://linux.wxs.ro/2011/01/24/pssh/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 11:06:00 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Ssh]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=1298</guid>
		<description><![CDATA[pssh provides parallel versions of the OpenSSH tools that are useful for controlling large numbers of machines simultaneously. It includes parallel versions of ssh, scp, and rsync, as well as a parallel kill command. via]]></description>
			<content:encoded><![CDATA[<p>pssh provides parallel versions of the OpenSSH tools  that are useful for controlling large numbers of  machines simultaneously. It includes parallel versions  of ssh, scp, and rsync, as well as a parallel kill  command.</p>
<p><a href="http://themes.freshmeat.net/projects/pssh">via</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2011/01/24/pssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Colored motd</title>
		<link>http://linux.wxs.ro/2011/01/13/colored-motd/</link>
		<comments>http://linux.wxs.ro/2011/01/13/colored-motd/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 11:51:12 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Ssh]]></category>
		<category><![CDATA[Style]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=1281</guid>
		<description><![CDATA[[user@box]$ echo -en "\033[1;34m" &#62; /etc/motd [user@box]$ echo "Text of your motd file....." &#62;&#62; /etc/motd [user@box]$ echo -en "\033[0m" &#62;&#62; /etc/motd source]]></description>
			<content:encoded><![CDATA[<p><code>[user@box]$ echo -en "\033[1;34m" &gt; /etc/motd<br />
[user@box]$ echo "Text of your motd file....." &gt;&gt; /etc/motd<br />
[user@box]$ echo -en "\033[0m" &gt;&gt; /etc/motd</code></p>
<p><a href="http://www.linuxquestions.org/questions/linux-software-2/adding-colors-to-your-motd-105038/">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2011/01/13/colored-motd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

