[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cannot ssh edit a file
From: |
Leo Butler |
Subject: |
Re: cannot ssh edit a file |
Date: |
Sat, 20 Feb 2021 07:21:12 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Luca Ferrari <fluca1978@gmail.com> writes:
> Hi all,
> I'm using emacs 26.3 on ubuntu linux, and I cannot tramp via ssh into
> a machine to edit files.
> What happens is that once I digit /ssh:luca@remotehost: Emacs freezes.
I use ~/.ssh/config to configure my hosts. Something like:
Host remotehost
User mename
HostName aa.bb.cc.dd
Port 5555
IdentityFile ~/.ssh/remotehost
Then
C-x C-f /ssh:remotehost: RET
opens the home directory of `mename'.
To troubleshoot, I would suggest configuring the host as above and then
executing
ssh -v -v remotehost
in the terminal. That will likely give you an idea of what is wrong.
----
Alternatively, I would suggest using sshfs.
Leo
> I've ssh keys in place, and I cannot connect with a terminal and ssh
> regularly. I've tried changing the shell of the user, since the remote
> user was using zsh and I've read that some particular prompts can
> confuse tramp, but nothing changed.
> I've tried the same using M-x find-file, but it freezes again.
> I've noted that trying to connect with a user that does not have ssh
> keys prompts me immediatly for the password, but once the password is
> entered, emacs freezes.
>
> Any idea about how to investigate and fix the problem?
>
> Thanks,
> Luca
- cannot ssh edit a file, Luca Ferrari, 2021/02/20
- Re: cannot ssh edit a file,
Leo Butler <=
- Re: cannot ssh edit a file, Tim Visher, 2021/02/20
- Re: cannot ssh edit a file, Óscar Fuentes, 2021/02/20
- Re: cannot ssh edit a file, Luca Ferrari, 2021/02/21
- Re: cannot ssh edit a file, Tim Visher, 2021/02/21
- Re: cannot ssh edit a file, Michael Albinus, 2021/02/21
- Re: cannot ssh edit a file, Luca Ferrari, 2021/02/22
- Re: cannot ssh edit a file, Michael Albinus, 2021/02/22
- Re: cannot ssh edit a file, Luca Ferrari, 2021/02/22