<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:osnews="http://osnews.com/rss2#">
	<channel>
		<title>OSNews: </title>
		<link>http://www.osnews.com/story/15095/Guide_SSH_Tricks</link>
		<description>Exploring the Future of Computing</description>
		<language>en-us</language>
		<copyright>Copyright 2001-2009, David Adams</copyright>
		<webMaster>adam+nospam@osnews.com</webMaster>
		<lastBuildDate>Thu, 09 Jul 2009 20:05:08 GMT</lastBuildDate>
		<image>
			<url>http://www.osnews.com/images/osnews.gif</url>
			<title>OSNews.com</title>
			<link>http://www.osnews.com</link>
		</image>
		<item>
			<title>Sweet...</title>
			<link>http://osnews.com/thread?140473</link>
			<guid isPermaLink="true">http://osnews.com/thread?140473</guid>
			<description>Really like RSA-key (aka password-less) login. Makes it much easier to implement automated stuff involving more than one machine.</description>
			<pubDate>Wed, 05 Jul 2006 17:52:00 GMT</pubDate>
			<author>donotreply@osnews.com (tomcat)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>left off a couple favorites</title>
			<link>http://osnews.com/thread?140497</link>
			<guid isPermaLink="true">http://osnews.com/thread?140497</guid>
			<description>The author has a nice list of tricks, I even learned a thing or two, like how mc (midnight commander handles fish and ssh protocols). My favorite ftp client lftp handles ftp, fish(sftp), and http protols and makes it easy to get and upload files to remote box. <br />
 <br />
You can find my list of favorite ssh tips at <br />
uadmin.blogspot.com/2006/02/ssh-tips.html it includes how to access boxes behind a firewall, like they are on your own system. I even includes a script that automates logging into a box behind a firewall, using lftp, another trick it has, is if you need shell access, just shell out with &quot;!&quot;, and type ssh 2200, and it will give you a full shell to the remote box, that is behind the firewall, not two steps like it would usually take to get to the box. <br />
<br />
Gotta love the power of ssh.</description>
			<pubDate>Wed, 05 Jul 2006 18:30:00 GMT</pubDate>
			<author>donotreply@osnews.com (jamesd)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Useful, and not so useful</title>
			<link>http://osnews.com/thread?140522</link>
			<guid isPermaLink="true">http://osnews.com/thread?140522</guid>
			<description>SSH is powerful, useful, and I couldn't live without it. I am constantly moving files between my machines over SSH, I do all the installing and administration usually over SSH, and I have already setup some automatic scripts on both machines to run over SSH when certain conditions are met. More specifically, NFS is faster than SSH, so I like to make the stuff available on PC1 available on PC2 over NFS, so PC2 checks on boot if PC1 is on, and mounts the NFS share. If PC1 is off, it will check on boot if PC2 is on, and mount the NFS share, using SSH and automatic login. Also, when PC1 is going down/rebooted, it checks again if PC2 is on, and unmounts the NFS share on it. This is just *so* useful.<br />
<br />
Nautilus rocks when I gotta use SSH to manage files..</description>
			<pubDate>Wed, 05 Jul 2006 19:35:00 GMT</pubDate>
			<author>donotreply@osnews.com (WereCatf)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>What ?</title>
			<link>http://osnews.com/thread?140528</link>
			<guid isPermaLink="true">http://osnews.com/thread?140528</guid>
			<description>Which tricks ?<br />
He is just using ssh just as every sysadmin every day. <br />
All is described in the man page. Why reinvent the wheel ?</description>
			<pubDate>Wed, 05 Jul 2006 20:06:00 GMT</pubDate>
			<author>donotreply@osnews.com (Duffman)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: What ?</title>
			<link>http://osnews.com/thread?140533</link>
			<guid isPermaLink="true">http://osnews.com/thread?140533</guid>
			<description>Not everybody is a sysadmin. Not everybody wants to learn from a man page. Nothing reinvented here.</description>
			<pubDate>Wed, 05 Jul 2006 20:35:00 GMT</pubDate>
			<author>donotreply@osnews.com (Ford Prefect)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>passwordless login recommendation is very annoying</title>
			<link>http://osnews.com/thread?140538</link>
			<guid isPermaLink="true">http://osnews.com/thread?140538</guid>
			<description>If you set up passwordless logins, anyone who gets ahold of your key can login to anywhere you've put as an authorized key -- this is a horrible security hole and should be highly discouraged.<br />
<br />
What is FAR better is to use ssh-agent (or the windows equivilant peagant) to keep your passcode so you only have to input once -- this means you functionally have passwordless logins for your session after to type it in once, but you are still not hosed if someone steals your key.<br />
<br />
This should be SSH 101, not some &quot;tip&quot; to undermine the security of the system you log into.</description>
			<pubDate>Wed, 05 Jul 2006 20:57:00 GMT</pubDate>
			<author>donotreply@osnews.com (ryan)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>WOW!</title>
			<link>http://osnews.com/thread?140547</link>
			<guid isPermaLink="true">http://osnews.com/thread?140547</guid>
			<description>Wow mounting a remote folder! Good Golly!</description>
			<pubDate>Wed, 05 Jul 2006 21:33:00 GMT</pubDate>
			<author>donotreply@osnews.com (cozby)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Useful, and not so useful</title>
			<link>http://osnews.com/thread?140548</link>
			<guid isPermaLink="true">http://osnews.com/thread?140548</guid>
			<description>Are you for real?</description>
			<pubDate>Wed, 05 Jul 2006 21:35:00 GMT</pubDate>
			<author>donotreply@osnews.com (cozby)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Too bad he didn't talk about gssaspi-keyex</title>
			<link>http://osnews.com/thread?140561</link>
			<guid isPermaLink="true">http://osnews.com/thread?140561</guid>
			<description>There's a new SSH standard for using Kerberos for host and user authentication. It's called gssapi-keyexchange. With it, you don't need to manage ssh-specific host kets and known_hosts files, which can be a real win for very large sites. It's a shame the author didn't mention it.</description>
			<pubDate>Wed, 05 Jul 2006 22:47:00 GMT</pubDate>
			<author>donotreply@osnews.com (derekmorr)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>cool</title>
			<link>http://osnews.com/thread?140562</link>
			<guid isPermaLink="true">http://osnews.com/thread?140562</guid>
			<description>interesting article...<br />
nothing amazingly new but certainly something that not everyone is familar with...</description>
			<pubDate>Wed, 05 Jul 2006 22:48:00 GMT</pubDate>
			<author>donotreply@osnews.com (deanlinkous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Tar pipe</title>
			<link>http://osnews.com/thread?140577</link>
			<guid isPermaLink="true">http://osnews.com/thread?140577</guid>
			<description>An oldy that I use alot is the tar pipe over ssh. Eg. :<br />
<br />
$ tar cf - /home/myuser | compress -c | ssh user@host &quot; ( uncompress -c | tar xvf - ) &quot;<br />
<br />
Surprised not to see it mentioned.</description>
			<pubDate>Thu, 06 Jul 2006 00:13:00 GMT</pubDate>
			<author>donotreply@osnews.com (Tyr.)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>more applications</title>
			<link>http://osnews.com/thread?140584</link>
			<guid isPermaLink="true">http://osnews.com/thread?140584</guid>
			<description>Numerous other apps can use SSH.  I use svn for version control over ssh with password-less auth.  Rsync is another big one -- excellent for transfering a whole website to the host securely.  And, rsync only transfers modified files, which makes the whole process of updating a huge site secure and painless.<br />
<br />
svn co svn+ssh://repo/module<br />
svn commit    # and svn commits over ssh tunnel<br />
<br />
rsync -e ssh src [user@host:]dest</description>
			<pubDate>Thu, 06 Jul 2006 01:19:00 GMT</pubDate>
			<author>donotreply@osnews.com (tbostick78)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Tar pipe</title>
			<link>http://osnews.com/thread?140587</link>
			<guid isPermaLink="true">http://osnews.com/thread?140587</guid>
			<description>Why the extra pipes with compress?  Just add -j (BZip2) or -z (GZip) to the tar command to do the compression/uncompression automatically in one go.</description>
			<pubDate>Thu, 06 Jul 2006 01:43:00 GMT</pubDate>
			<author>donotreply@osnews.com (phoenix)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: Tar pipe</title>
			<link>http://osnews.com/thread?140594</link>
			<guid isPermaLink="true">http://osnews.com/thread?140594</guid>
			<description>Not every *nix' tar command supports -j or -z for compression.</description>
			<pubDate>Thu, 06 Jul 2006 02:27:00 GMT</pubDate>
			<author>donotreply@osnews.com (taos)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Too bad he didn't talk about gssaspi-keyex</title>
			<link>http://osnews.com/thread?140597</link>
			<guid isPermaLink="true">http://osnews.com/thread?140597</guid>
			<description>&quot;It's a shame the author didn't mention it.&quot;<br />
<br />
Maybe he didn't want to write a 5000 word essay on how to configure kerberos.</description>
			<pubDate>Thu, 06 Jul 2006 03:12:00 GMT</pubDate>
			<author>donotreply@osnews.com (Soulbender)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Wtf?</title>
			<link>http://osnews.com/thread?140598</link>
			<guid isPermaLink="true">http://osnews.com/thread?140598</guid>
			<description>&quot;When the program asks for the key password, we should just press ENTER - this way, a passwordless key will be created.&quot;<br />
<br />
This is such bad advice it hurts my brain. Hasn't this guy heard of ssh-agent?</description>
			<pubDate>Thu, 06 Jul 2006 03:13:00 GMT</pubDate>
			<author>donotreply@osnews.com (Soulbender)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>uh</title>
			<link>http://osnews.com/thread?140602</link>
			<guid isPermaLink="true">http://osnews.com/thread?140602</guid>
			<description>maybe he is using ssh only on his local network where a password isnt needed? maybe???</description>
			<pubDate>Thu, 06 Jul 2006 03:28:00 GMT</pubDate>
			<author>donotreply@osnews.com (deanlinkous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: passwordless login recommendation is very annoying</title>
			<link>http://osnews.com/thread?140608</link>
			<guid isPermaLink="true">http://osnews.com/thread?140608</guid>
			<description>agree, disabling passwords guts the security you are trying to create by using this tool in the first place. of course when this was mentioned on digg i was told i simply &quot;had no clue&quot;.</description>
			<pubDate>Thu, 06 Jul 2006 05:51:00 GMT</pubDate>
			<author>donotreply@osnews.com (theGrump)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Tar pipe</title>
			<link>http://osnews.com/thread?140609</link>
			<guid isPermaLink="true">http://osnews.com/thread?140609</guid>
			<description>... I assume it is faster then normal every day &quot;scp -C&quot;, right?<br />
<br />
BTW, why not use gzip and/or bzip2 for compression?</description>
			<pubDate>Thu, 06 Jul 2006 05:59:00 GMT</pubDate>
			<author>donotreply@osnews.com (gilboa)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>SSHFS perfect for wireless networks</title>
			<link>http://osnews.com/thread?140611</link>
			<guid isPermaLink="true">http://osnews.com/thread?140611</guid>
			<description>Using SSHFS in a wireless local network is a lot more secure than NFS or Samba shares. Couple it with ssh-agent and you get hassle-free and very secure file sharing between your computers in the network.<br />
<br />
Except for one minor issue I've had: For some reason, SSHFS crashes and sometimes even makes the whole system crash. At least if you're running Ubuntu (tested in Hoary, Breezy and Dapper). I've tried it with several machines and it's always the same thing. When you unmount shares, it says &quot;Segmentation fault&quot; and sometimes the graphics in your X session gets garbled and the whole system crashes. If anyone knows what's wrong, any advice would be much appreciated.</description>
			<pubDate>Thu, 06 Jul 2006 06:38:00 GMT</pubDate>
			<author>donotreply@osnews.com (djst)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Suft on public areas for free!</title>
			<link>http://osnews.com/thread?140612</link>
			<guid isPermaLink="true">http://osnews.com/thread?140612</guid>
			<description>I must share a tip I'm using daily. Commuting to work, I sometimes need to spend half an hour waiting for a train on a public train station. They have a wireless Internet connection you may use if you pay for it. However, by changing the SSH port on my server to e.g. 7722, I can now connect to it using 'ssh -p 7722 my.server.com' and use the Internet connection for free! I know, it may not be perfectly legal, but in my opinion they should blame themselves for not disabling the traffic on the port.<br />
<br />
Anyway, if you often spent time on public paid-for wireless spots, go ahead and try it out!</description>
			<pubDate>Thu, 06 Jul 2006 06:42:00 GMT</pubDate>
			<author>donotreply@osnews.com (djst)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: uh</title>
			<link>http://osnews.com/thread?140613</link>
			<guid isPermaLink="true">http://osnews.com/thread?140613</guid>
			<description>&quot;maybe he is using ssh only on his local network where a password isnt needed? maybe???&quot;<br />
<br />
That's no excuse for teaching bad and insecure habits.</description>
			<pubDate>Thu, 06 Jul 2006 06:47:00 GMT</pubDate>
			<author>donotreply@osnews.com (Soulbender)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: uh</title>
			<link>http://osnews.com/thread?140754</link>
			<guid isPermaLink="true">http://osnews.com/thread?140754</guid>
			<description>picking your nose is a bad habit....nothing wrong with doing it at home though!<br />
<br />
no password SSH is a bad habit...nothing wrong with doing it at home though!<br />
<br />
a little bit of warning in the article would of been good - sort of like your mother telling you to not pick your nose in public maybe! <img src="/images/emo/smile.gif" alt=";)" /></description>
			<pubDate>Thu, 06 Jul 2006 15:05:00 GMT</pubDate>
			<author>donotreply@osnews.com (deanlinkous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: Tar pipe</title>
			<link>http://osnews.com/thread?140788</link>
			<guid isPermaLink="true">http://osnews.com/thread?140788</guid>
			<description>... I assume it is faster then normal every day &quot;scp -C&quot;, right? <br />
<br />
BTW, why not use gzip and/or bzip2 for compression?<br />
<br />
It's faster and you can throw sudo's in there to copy files you don't own if needed. Gzip isn't installed on every unix, it certainly isn't on our reduced DMZ builds. It's also more flexible : you can only copy a predefined list of files, or use find to pipe a list of files into the tar. It also has the added bonus of confusing those new to unix ;-)</description>
			<pubDate>Thu, 06 Jul 2006 16:44:00 GMT</pubDate>
			<author>donotreply@osnews.com (Tyr.)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[3]: uh</title>
			<link>http://osnews.com/thread?140975</link>
			<guid isPermaLink="true">http://osnews.com/thread?140975</guid>
			<description>&quot;picking your nose is a bad habit....nothing wrong with doing it at home though!&quot;<br />
<br />
Noone's actively trying to teach you to pick your nose though.</description>
			<pubDate>Fri, 07 Jul 2006 02:54:00 GMT</pubDate>
			<author>donotreply@osnews.com (Soulbender)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: passwordless login recommendation is very annoying</title>
			<link>http://osnews.com/thread?141025</link>
			<guid isPermaLink="true">http://osnews.com/thread?141025</guid>
			<description>Except you don't really disable any passwords. You just store a login key on your main computer for the other computer you want to remotely login to. As long as you have a good password for your main computer and store the key at a location that is only accessible by yourself (e.g. in your chmod'ed 700 home dir), the key is not at higher risk of being compromised than anything else in your home dir.Edited 2006-07-07 09:18</description>
			<pubDate>Fri, 07 Jul 2006 09:17:00 GMT</pubDate>
			<author>donotreply@osnews.com (Endica)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[3]: passwordless login recommendation is very annoying</title>
			<link>http://osnews.com/thread?141181</link>
			<guid isPermaLink="true">http://osnews.com/thread?141181</guid>
			<description>Unless the file system is encrypted, chmod 700 isn't going to help once the wrong person gets physical access to your machine. For instance, if your laptop got stolen and had keys on it for imporant servers at work, the doors would be wide open.<br />
<br />
The beauty of key pairs in such situation is of course that you can disable the key by simply removing it from authorized_keys (which is a good reason to not reuse keys for different machines), but do you really trust that you will not forget one of the hosts that accept this key, and are you sure you'll be able to clean up before anybody makes use of the key?<br />
<br />
It's really not advisable to use plain text keys. You should always protect your private key with a passphrase. SSH-agent makes it almost as convenient as the non-encrypted option, although it clearly is more work to set up than just using normal password login. It's also more secure, though.</description>
			<pubDate>Fri, 07 Jul 2006 21:37:00 GMT</pubDate>
			<author>donotreply@osnews.com (bogomipz)</author>
			<category>Comments</category>
		</item>
	</channel>
</rss>
