<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: Tramp</title>
	<atom:link href="http://nflath.com/2009/08/tramp/feed/" rel="self" type="application/rss+xml" />
	<link>http://nflath.com/2009/08/tramp/</link>
	<description>Technology-related ideas, mainly involving Emacs</description>
	<pubDate>Sun, 05 Feb 2012 18:22:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Joseph Gay</title>
		<link>http://nflath.com/2009/08/tramp/comment-page-1/#comment-441</link>
		<dc:creator>Joseph Gay</dc:creator>
		<pubDate>Thu, 22 Oct 2009 05:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=280#comment-441</guid>
		<description>For Tracy and others who might be interested.

After some experimentation, I have had success with the method described in the Tramp user manual for using sudo on a remote host: http://www.gnu.org/software/tramp/#Multi_002dhops.

For example, let's say you connect to the domain yellow.chalk with the user manerva:

(add-to-list 'tramp-default-proxies-alist
             '("yellow.chalk" "\\`root\\'" "/ssh:manerva@%h:"))

Using the above rule, you would do C-x C-f /sudo:yellow.chalk:
You would then be prompted first to login via ssh, and subsequently, if all goes well, you will get the sudo prompt. You can then find a file as usual.</description>
		<content:encoded><![CDATA[<p>For Tracy and others who might be interested.</p>
<p>After some experimentation, I have had success with the method described in the Tramp user manual for using sudo on a remote host: <a href="http://www.gnu.org/software/tramp/#Multi_002dhops" rel="nofollow">http://www.gnu.org/software/tramp/#Multi_002dhops</a>.</p>
<p>For example, let&#8217;s say you connect to the domain yellow.chalk with the user manerva:</p>
<p>(add-to-list &#8216;tramp-default-proxies-alist<br />
             &#8216;(&#8221;yellow.chalk&#8221; &#8220;\\`root\\&#8217;&#8221; &#8220;/ssh:manerva@%h:&#8221;))</p>
<p>Using the above rule, you would do C-x C-f /sudo:yellow.chalk:<br />
You would then be prompted first to login via ssh, and subsequently, if all goes well, you will get the sudo prompt. You can then find a file as usual.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Gay</title>
		<link>http://nflath.com/2009/08/tramp/comment-page-1/#comment-439</link>
		<dc:creator>Joseph Gay</dc:creator>
		<pubDate>Wed, 21 Oct 2009 21:05:19 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=280#comment-439</guid>
		<description>Tracy,
I'm searching for a solution to the same issue. If I find anything, I'll leave a reply here.</description>
		<content:encoded><![CDATA[<p>Tracy,<br />
I&#8217;m searching for a solution to the same issue. If I find anything, I&#8217;ll leave a reply here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emacs - Timing and Upgrades &#171; Musings of a Software Engineering Student</title>
		<link>http://nflath.com/2009/08/tramp/comment-page-1/#comment-328</link>
		<dc:creator>Emacs - Timing and Upgrades &#171; Musings of a Software Engineering Student</dc:creator>
		<pubDate>Fri, 25 Sep 2009 23:28:18 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=280#comment-328</guid>
		<description>[...] reader suggested this improvement in the comments of this post. This will open the current file as sudo at the current position; the old function would lose the [...]</description>
		<content:encoded><![CDATA[<p>[...] reader suggested this improvement in the comments of this post. This will open the current file as sudo at the current position; the old function would lose the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ritchie</title>
		<link>http://nflath.com/2009/08/tramp/comment-page-1/#comment-267</link>
		<dc:creator>Ritchie</dc:creator>
		<pubDate>Sun, 30 Aug 2009 03:16:47 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=280#comment-267</guid>
		<description>Sometimes it does gives just a couple of errors, but other times it just keeps coming. Well... hopefully they'll fix it in the future.</description>
		<content:encoded><![CDATA[<p>Sometimes it does gives just a couple of errors, but other times it just keeps coming. Well&#8230; hopefully they&#8217;ll fix it in the future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nflath</title>
		<link>http://nflath.com/2009/08/tramp/comment-page-1/#comment-265</link>
		<dc:creator>nflath</dc:creator>
		<pubDate>Sat, 29 Aug 2009 15:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=280#comment-265</guid>
		<description>Ritchie: I just opened a file on a remote machine with tramp and got this error, but only the first time it was opened.  doing pabbrev-scavenge-buffer works, and after that pabbrev works normally, but I don't know what as causing it.</description>
		<content:encoded><![CDATA[<p>Ritchie: I just opened a file on a remote machine with tramp and got this error, but only the first time it was opened.  doing pabbrev-scavenge-buffer works, and after that pabbrev works normally, but I don&#8217;t know what as causing it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ritchie</title>
		<link>http://nflath.com/2009/08/tramp/comment-page-1/#comment-264</link>
		<dc:creator>Ritchie</dc:creator>
		<pubDate>Sat, 29 Aug 2009 05:38:47 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=280#comment-264</guid>
		<description>I'm wondering if you have ever had any problem with using tramp and pabbrev-mode in emacs 23.  Tramp version is 2.1.15 in emacs 23 and is extremely slow comparing to 2.0.58-pre. When the pabbrev-mode try to scavenge words in a opened file, tramp keeps giving some file error, complaining about invalid lisp expression, virtually makes me unable to edit the file while in pabbrev-mode with tramp. Have you experienced something like this?</description>
		<content:encoded><![CDATA[<p>I&#8217;m wondering if you have ever had any problem with using tramp and pabbrev-mode in emacs 23.  Tramp version is 2.1.15 in emacs 23 and is extremely slow comparing to 2.0.58-pre. When the pabbrev-mode try to scavenge words in a opened file, tramp keeps giving some file error, complaining about invalid lisp expression, virtually makes me unable to edit the file while in pabbrev-mode with tramp. Have you experienced something like this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tracy Reed</title>
		<link>http://nflath.com/2009/08/tramp/comment-page-1/#comment-222</link>
		<dc:creator>Tracy Reed</dc:creator>
		<pubDate>Tue, 18 Aug 2009 21:19:51 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=280#comment-222</guid>
		<description>Right. But we like sudo. Logging in as root is discouraged and some machines (Ubuntu especially) don't even have a root password. It is nice not having a root password because then you don't have to worry about memorizing/securing it. We just use sudo for everything. Even for console access our machines drop you to a root prompt in single user mode, never need the password.</description>
		<content:encoded><![CDATA[<p>Right. But we like sudo. Logging in as root is discouraged and some machines (Ubuntu especially) don&#8217;t even have a root password. It is nice not having a root password because then you don&#8217;t have to worry about memorizing/securing it. We just use sudo for everything. Even for console access our machines drop you to a root prompt in single user mode, never need the password.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://nflath.com/2009/08/tramp/comment-page-1/#comment-209</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 14 Aug 2009 21:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=280#comment-209</guid>
		<description>Tracy:  If you have the root password, you should just be able to do:

C-x C-f //ssh:root@hostname:path/to/file</description>
		<content:encoded><![CDATA[<p>Tracy:  If you have the root password, you should just be able to do:</p>
<p>C-x C-f //ssh:root@hostname:path/to/file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tracy Reed</title>
		<link>http://nflath.com/2009/08/tramp/comment-page-1/#comment-208</link>
		<dc:creator>Tracy Reed</dc:creator>
		<pubDate>Fri, 14 Aug 2009 20:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=280#comment-208</guid>
		<description>My problem has always been: How do I use Tramp to open another file using sudo on ANOTHER computer. I'm a sysadmin and would like to be able to use emacs a lot more than I do. Here you show us how to edit files on another computer and how to edit files as root on the local computer. I need to combine these two.

I</description>
		<content:encoded><![CDATA[<p>My problem has always been: How do I use Tramp to open another file using sudo on ANOTHER computer. I&#8217;m a sysadmin and would like to be able to use emacs a lot more than I do. Here you show us how to edit files on another computer and how to edit files as root on the local computer. I need to combine these two.</p>
<p>I</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elias Pipping</title>
		<link>http://nflath.com/2009/08/tramp/comment-page-1/#comment-202</link>
		<dc:creator>Elias Pipping</dc:creator>
		<pubDate>Thu, 13 Aug 2009 07:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://nflath.com/?p=280#comment-202</guid>
		<description>Nevermind that last comment. That'd only work w/ the same buffer and the same file.</description>
		<content:encoded><![CDATA[<p>Nevermind that last comment. That&#8217;d only work w/ the same buffer and the same file.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

