Joe Casadonte [EMAIL PROTECTED] writes:
I've read everything I can find on how to get tramp to connect via ssh/scp
from an NT box, and they all, without fail, say that you have to set it up
so that you're not prompted for a password (i.e. via ssh-agent or keys).
To me, this is an
I have the following backtrace, which I pass along on the off
chance that it will be helpful. I kind of doubt it since I
haven't been able to reliably reproduce this yet. (I am /the/
Test User!)
Breakpoint 1, abort () at emacs.c:385
385 kill (getpid (), SIGABRT);
(gdb) backtrace
#0
[EMAIL PROTECTED] (Kai Großjohann) writes:
On Fri, 22 Jun 2001, Test User wrote:
I'm having problems with emacs crashing semi-regularly.
Crashing. Whee! Can you run Emacs under the debugger and get a
backtrace after it crashed? Can you see any pattern?
Tell me when I should stop
[EMAIL PROTECTED] (Kai Großjohann) writes:
Just in case someone feels inclined to implement this.
Gnus automatically senses when my IMAP connection times out and
reconnects. Does anyone here know enough about how it works to
say if we could duplicate its functionality?
--
Stefan Monnier [EMAIL PROTECTED] writes:
Kai == Kai Großjohann [EMAIL PROTECTED] writes:
On Fri, 25 May 2001, Sven Utcke wrote:
(Should Tramp assume that any Perl found is a Perl 5?)
Hmm. This, of course, would be guaranteed to break once perl6 is
out, and possibly on some (very
Here is an updated patch for my new smp method. This one detects
if the remote side has mimencode and uses that if it is
available. Otherwise, it uses perl to do the mimencode stuff.
Some possible improvements:
o Don't always send the tramp_mime* shell functions.
o Use MIME::Base64 if
Here is an updated patch for my new smp method. This one detects
if the remote side has mimencode and uses that if it is
available. Otherwise, it uses perl to do the mimencode stuff.
Some possible improvements:
o Don't always send the tramp_mime* shell functions.
o Use MIME::Base64 if
This with `(auto-compression-mode)' in my .emacs file.
When copying a file via tramp, tramp will attempt to compress the
file again if it ends with a suffix that it recognizes as a
compressed file. For example:
$ echo tmp test
$ gzip test
$ ls -l test.gz
-rw-r--r--1 mah mah
Keith Amidon [EMAIL PROTECTED] writes:
Inspired by Mark, I've been poking around trying to get tramp working
on nt-emacs 20.7 with the Cygwin ssh port. I'm really
close. Hopefully someone knows what needs to be done to take this the
rest of the way.
I've got a quick synopsis of what I've
[EMAIL PROTECTED] (Kai Großjohann) writes:
Here, ^D stands for an end of file character.
Hm. Wait a second. You are on NT, right? Maybe on NT,
process-send-eof does something different than on Unix? Let me have a
look...
No, I can't find it. The code contains an #ifdef VMS section,
"KG" == Kai Grojohann [EMAIL PROTECTED] writes:
KG What happens when you manually enter the value of $homepage,
KG rather than using the env var? Does $homepage point to a
KG directory or to a file?
His problem looks very similar to the one I've been seeing with just
regular
With Kai's assistance, I figured out how to use tramp with stock
cygwin tools and minimal configuration of NTEmacs or tramp. In
addition to posting a brief explanation here, I've posted this at
http://mah.everybody.org/docs/tramp-on-nt. I hope to test this more
thoroughly next Monday. These
[EMAIL PROTECTED] writes:
Is ssh.el still being maintained?
There really isn't much that would have needed to change since
'98. AFAIK, the only signifigant difference between now and '98
is tramp.
Mark.
--
ommnes exeunt in mysterium
All Things
hell-file-name "bash")
(setq shell-command-switch "-c")))
Once emacs is running, I `M-x shell' and in the *shell* buffer
type `ssh-add'.
I've had to create my own ssh-add script
(which I put in ~/bin):
--- begin ssh-add ---
#!/bin/sh
# ssh-add script for working under
[EMAIL PROTECTED] writes:
Does anyone have instructions for using cygwin ssh? esp with emacs?
and tramp?
I had told Kai that I would put some together in the past and I
just managed to figure out a kludge that I think will work for
stock SSH from cygwin.
I will document all of this tomorrow
[EMAIL PROTECTED] (Kai Grojohann) writes:
On Thu, 15 Mar 2001, [EMAIL PROTECTED] wrote:
debug:
Signaling: (wrong-type-argument listp t)
tramp-multi-connect-su(#process *tramp/multiu
ssh#mah@localhost:sudo#root@localhost:* "sudo" "root" "localhost" "sudo -u %u -s%n")
"KG" == Kai Grojohann [EMAIL PROTECTED] writes:
KG Thanks, but the interesting part is what happens during the
KG execurion of tramp-multi-connect-su. That's where the `t'
KG occurs which isn't a list.
Ok, after installing 2.0.2.1 from FTP and a bit of futzing around with
edebug
[EMAIL PROTECTED] writes:
I'm running GNU Emacs 20.7.1 (i386-*-nt5.0.2195) using
cmdproxy. I'd like to use 'plink' as an SSH client in *shell*
buffers.
* Can I avoid telnet-mode? Or should I install it?
* If I can avoid it, how do I fix the code?
* If I should
A while back I said I was going to try to get tramp working on
ntemacs. I would like to use the ssh that comes with the cygwin
toolset, though, instead of putty.
I spent a little bit on it, but I'd like to get it done. The problem
is that ssh under ntemacs complains that it doesn't have a tty
"KG" == Kai Grojohann [EMAIL PROTECTED] writes:
KG I think that Daniel's recent fix might solve your problem.
KG Thanks, Daniel. Mark, could you try the most recent version
KG to see if it works?
Yep, it's fixed. Thanks.
Mark.
--
So what are you going to do with more money?
Kai,
# Bourne shell
if [ "$SHELL" = "/bin/sh" ] ; then
echo bourne, bourne
fi
# Csh
if ( "$SHELL" == "/bin/csh" ) then
echo c, c
endif
As you can see, even the `if' command is quite different.
Perhaps you were aiming at something entirely different, but if you
were just
--bug report follows this line--
I've tried tu, su, sudu, multiu/telnet/sudo and of all these
connection methods, only tu seems to work. This is a new (to me)
machine, so it is possible that I'm doing something wacky.
Here is the output after toggle-debug-on-error for one of the failing
Using 1.436, my ntemacs can get a dirlisting from the remote OSF1
host. However, when trying to retrieve a file, it fails. I'll get
you the exact message tomorrow, but perhaps this will help:
Using the same version on a telnet to localhost on my Debian box here
at the house (tu method), I get
Enter your bug report in this message, including as much detail as you
possibly can about the problem, what you did to cause it and what the
local and remote machines are.
If you can give a simple set of instructions to make this bug happen
reliably, please include those. Thank you for helping
Enter your bug report in this message, including as much detail as you
possibly can about the problem, what you did to cause it and what the local
and remote machines are.
If you can give a simple set of instructions to make this bug happen reliably,
please include those. Thank you for helping
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG On Tue, 29 Aug 2000, Kai Großjohann wrote:
Ah, yes. The backtrace comes from the (debug) statement in
tramp-handle-make-symbolic-link. And that statement is there
because the function isn't implemented yet.
KG I have
Enter your bug report in this message, including as much detail as you
possibly can about the problem, what you did to cause it and what the local
and remote machines are.
If you can give a simple set of instructions to make this bug happen reliably,
please include those. Thank you for helping
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG On 18 Aug 2000, Mark A. Hershberger wrote:
`/r@multi:ssh#user@host:sudo#user@host:file' is bombing now.
It makes the connection fine, but bombs out when sudo prompts
for a password with an error like `Args out o
`/r@multi:ssh#user@host:sudo#user@host:file' is bombing now. It makes
the connection fine, but bombs out when sudo prompts for a password
with an error like `Args out of range: 1, 10'. Same for su on a
chain.
ssh chained to ssh doesn't seem to have this problem. Ah... Another
test and `su'
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG Please give feedback as to how it works.
Will do. I'll try to set up my NeXT again this weekend (I have some
stuff to print anyway).
--
Hackers view advertising as damage and route around it.
-- gowen on
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG On 26 Jul 2000, Mark A. Hershberger wrote:
Tramp doesn't do the right thing for `C-x d /r:host:filename'.
Example: C-x d /r:example.com:~/.bash_profile RET
KG Does it now do the right thing?
This particular exa
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG On 24 Jul 2000, Mark A. Hershberger wrote:
Using both multi and sm, I am unable to mkdir. Debug buffer
for sm connection attached.
KG I think I found it: wrong order of arguments for
KG tramp-barf-unless-ok
[EMAIL PROTECTED] writes:
I wish to specify a port number while using tramp to access a
file. The host I'm connecting to has sshd listening on a
non-standard port. So where in the filename can I specify that?
I would use ~/.ssh/config. For a while, I had everybody.org on a
[EMAIL PROTECTED] writes:
How can I get more debug info from this?
(setq tramp-debug-buffer t)
--
Hackers view advertising as damage and route around it.
-- gowen on slashdot.org
"YY" == Yuji Yamano [EMAIL PROTECTED] writes:
YY Hmm. Tramp unexpected this result.
YY Could you try the following patch?
Better. I got logged in, used dired, but failed to load a file.
Here's the debug buffer:
$ ( cd / ) ; echo tramp_exit_status $?
# Opening connection for [EMAIL
Tramp doesn't do the right thing for `C-x d /r:host:filename'.
Example: C-x d /r:example.com:~/.bash_profile RET
Resultant buffer contains:
/
| /r@sm:[EMAIL PROTECTED]:/home/mah:
| wildcard .bash_profile*
| ls: /home/mah/.bash_profile*: No such file or directory
\
Tramp appears to
"SM" == Skip Montanaro [EMAIL PROTECTED] writes:
SM Is it possible to get a tramp+ediff combination working?
It works great for me under Emacs. Perhaps this is a efs/tramp
conflict?
Mark.
tramp 1.396
Using both multi and sm, I am unable to mkdir. Debug buffer for sm
connection attached.
# Opening connection for [EMAIL PROTECTED] using sm...
# Waiting 60s for shell or passwd prompt from everybody.org
Last login: Mon Jul 24 21:20:24 2000 from dsl081-026-087-s
Copyright (c) 1980,
Here is Yet Another RegExp to add:
If I've lost my 'Net connection or mistype a hostname, (open)ssh will
respond with `Name or service not known'. Example:
$ ssh foobar
ssh: foobar: Name or service not known
$
HTH,
Mark.
--
The worst thing about new books is that they keep us
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
Also, please consider adding /usr/freeware/bin to the list of
directories searched on remote machines. That is where
mimencode is located on the IRIX machine I am connecting to.
KG Is this a fairly standard directory on IRIX?
Log Message:
Joe Stoy suggests a missing tramp-wait-for-output.
This seems to fix my problem.
Mark.
"SM" == Stefan Monnier [EMAIL PROTECTED] writes:
SM PS: I wish someone had time to re-implement
SM rcp-handle-file-attributes using Perl rather than ls, so as to
SM get mtime and friends.
What about the ls in ppt? Could you not pull code from there, or just
use that specific
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG You can now put the element "%u" into the su argument list,
KG and it will be replaced with the user name. This should allow
KG you to specify `sudo -u USER /bin/sh' as the command. Does it
KG help?
Sounds good, but now I
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG Could you please M-x toggle-debug-on-error RET, then find out
KG the backtrace? I wonder where it goes wrong.
Signaling: (wrong-type-argument stringp t)
file-name-absolute-p(t)
file-truename("/r@scp:[EMAIL PROTECTED]:/usr/local"
Is v. 1.292 supposed to have the multiu fix? I just fired up a fresh
Emacs session to retest (supposing that there might have been some
leftover cruft that ruined my previous attempt), and got the `Wrong
type argument: stringp, ["mah" "mah"]' error again.
Mark.
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG [EMAIL PROTECTED] (Mark A. Hershberger) writes:
Using a chain like
/r@multiu:ssh#[EMAIL PROTECTED]:ssh#[EMAIL PROTECTED]:/path/to/file,
works fine except for one thing: the permissions of the file
are not
"TR" == Tom Roche [EMAIL PROTECTED] writes:
TR * how to get/generate identity.pub using ssh-keygen2?
Try leaving off the `-e' or `-f' switch. It should then create the
directory and put it in the proper place. However, it will prompt
you, which I was trying to avoid. Sorry, and thanks
Using a chain like
/r@multiu:ssh#[EMAIL PROTECTED]:ssh#[EMAIL PROTECTED]:/path/to/file,
works fine except for one thing: the permissions of the file are not
preserved as they are normally.
Mark.
Now that Kai has added connection chaining and ability to use su, the
benefit of rcp.el is increased by an order of magnitude.
From a single Emacs session on the localhost, I can edit files owned
by other users (such as root) on my local box or on boxes behind
firewalls across the 'net. The
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG (1) The FSF doesn't like ssh and thus I'm trying to make
KG rcp.el work as well as possible with plain rsh.
Now that OpenSSH (http://www.openssh.com/) has been released under a
BSD license and can be used without using patented
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG If I were to add code to rcp.el to circumvent `cd', would you
KG be willing to test it?
Sure! I *need* this code as there is a machine that I own and admin
for which I do not have the root password. Sure, I could change it to
This is a rather annoying little bug:
When I log in, I *must* type the password correctly the first time.
If I don't then rcp.el becomes confused as the *rcp/foo ...* buffer is
in an un-recognized state. For example:
C-x C-f /r@tm:[EMAIL PROTECTED]: RET
Password:
... RET
Login failed:
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG Okay, I can understand that. Hm. This should be easy enough to do.
KG But you talk about authentication timeout. What happens when the
KG shell has been idle for a while?
Sorry, my fault. If you are going to just do sudo -u
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG Hm. Suppose /xyzzy is a directory only readable by root, and
KG you have sudo permissions to list the directory. Can you use
KG sudo to get the same output that `cd /xyzzy ; ls -lda a*'
KG would produce? Note that `ld -lda
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG I thought it might be nifty to support a connection method
KG which allows users to use a chain of commands to connect to a
KG remote host.
Yahoo! I was going to suggest this a while back. This would be most
excellent and
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG I have now tried to add more (and hopefully useful) messages.
These work much better so far... Thanks.
Mark.
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
(insert-file-contents
"/r@scp:everybody.org:/home/mah/.profile") gives me "File
Error"...
KG Huh? This is quite strange! It works for me. And since C-x
KG i and C-x C-f call rcp-handle-insert-file-contents behind the
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG Can you try to eval (insert-file-contents
KG "/r:mumble@frotz:/foo") and see if that delay occurs there,
KG too? Does it occur with rcp-handle-insert-file-contents
KG rather than insert-file-contents?
(insert-file-contents
[Forgot to Cc list.]
"KG" == Kai Großjohann [EMAIL PROTECTED] writes:
KG What's your backup-by-copying setup? (Don't forget the other
KG backup-by-copying-when-* variables.)
All nil.
To be clear:
$ ls -l test*
-rw-r--r-- 1 mah mah0 Mar 30 17:16 test
I use ffap.el with emacs and really enjoy its convenience. However,
it tends to confuse rcp.el.
For example, say I've just opened
/r@scp:everybody.org:public_html/index.html and point is on the first
character ("!DOCTYPE " in this case). Now, I change my mind and
decide I want to edit
I'd like to add a method, but I'm unsure where to start.
The method would allow you to login to the machine as one user and
then use su to go to another user that was not allowed to log in.
There are various examples of this, but in my case, I'd like to edit
files that only root can touch on
This version works better for me. I get prompted when logging into an
IRIX box running sshd 1.2.20 from an OpenBSD box using ssh v 1.2.26.
This is good because that is what should have happened before.
Also, a strange thing: I get prompted twice for the pw. The first
time, the prompt shows
Kai Großjohann [EMAIL PROTECTED] writes:
Mark A. Hershberger [EMAIL PROTECTED] writes:
Barfs for me.
So, this is working as it should? Good.
Yes.
Now, all I need to do is figure out which file to modify so that I can
get the mimencode or uuencode in my path.
There is a variable
I just began using rcp.el a few days ago and I like where this is
headed.
A problem, though:
When I want open the following file,
/r@slm:user_other_than_me@other_machine:/file/there
I can see that rcp.el has logged me in, but it gives me the message:
Remote /bin/sh didn't come up. See
64 matches
Mail list logo