Skip to main content

Questions tagged [ssh]

is the secure shell program that encrypts network communications over unsecured networks.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

I've been getting this error if I use the ansi-term to ssh into a machine that's on my lan. The cli prompt is prepended by a long OSC character sequence ]3008;start=;user=adsfibonacci;hostname=<...
ADS_Fibonacci's user avatar
0 votes
1 answer
44 views

Built Emacs from git repo (using c5f649441e2e055701c7bee811eaf266c4f0e7ce hash) and Tramp ssh that was working forever doesn't work at all. Neither does M-x /sudo::/something Setting tramp-verbose to ...
user49202's user avatar
0 votes
0 answers
46 views

I have emacs running on my mac. I use tramp to open a remote dir in dired I run M-x shell from that buffer to open a new shell on the remote HPC machine. I start an interactive job with slurm: srun --...
user27815's user avatar
  • 249
1 vote
0 answers
66 views

I'm unable to get tramp to share ssh connections, which makes most operations very high latency. What's weird is that the first time emacs needs to open a connection to a host, it uses the arguments: ...
user3188445's user avatar
0 votes
0 answers
35 views

With eshell, I seem to have a global history, if I connect to remote systems, I still see commands in my history, from totally different ssh sessions. Can I have eshell history per host or what is the ...
Jason Hunter's user avatar
  • 1,236
1 vote
0 answers
95 views

I've cygwin installed on windows, and I've set cygwin.bat as a shell for openssh@windows. I can ssh there without problem. Now trying to setup subj. In the tramp debug I see this: 09:11:12.962825 ...
aikipooh's user avatar
  • 141
0 votes
2 answers
84 views

After connecting via ssh, I'm trying to tab complete, but I only get: Debugger entered--Lisp error: (void-function comint-dynamic-complete) comint-dynamic-complete() ssh-tab-or-complete() ...
Jason Hunter's user avatar
  • 1,236
0 votes
1 answer
84 views

Running emacs -Q for emacs 29.4 (build 2, x86_64-w64-mingw32): ~/.ssh $ cd /ssh:oracle-root:/ /ssh:oracle-root:~/ $ pwd /ssh:oracle-root:/home/opc/ /ssh:oracle-root:~/ $ /bin/pwd / There should be ~/...
StackExchanger's user avatar
0 votes
1 answer
223 views

I am trying to use emacs tramp via /ssh: which calls Windows 11's native ssh client. It hangs. Reading logs, it seems ssh.exe never serves the password prompt username@hostname's password: to tramp, ...
Christian Chapman's user avatar
0 votes
1 answer
128 views

I have recently switched from launching Emacs from the terminal (i.e. emacs --init-directory "path/to/my/init") to launching it from a universal keybinding (i.e. super-e). This has had the ...
lmkerbey's user avatar
0 votes
1 answer
192 views

Recently I noticed a new tramp protocol called sshfs was introduced in Emacs 28 and I decided to try it out. It works fine, and as I understand it, opening and editing remote files is done through the ...
Romário's user avatar
  • 203
0 votes
0 answers
94 views

Yesterday, I didn't change anything in Emacs. All that I did was set up SSH through ssh-add and ssh-keygen. Today, Emacs crashes moments after opening. I suspect the two are related. How can I debug ...
J. Mini's user avatar
  • 265
1 vote
1 answer
107 views

In my company, for many reasons, we need to use the company's machines to compile and run our application. I've been using Emacs+Tramp for a while to access my machine and it works very well most of ...
Romário's user avatar
  • 203
0 votes
1 answer
455 views

i have a local customized emacs with the emacs ein package. I am able initiate a jupyter kernel locally (via emacs or via the terminal) and start an interactive jupyter notebook session. However, I ...
Olmo's user avatar
  • 123
0 votes
0 answers
71 views

I get Invalid MIT-MAGIC-COOKIE-1 key while I try to open an x11() window using R from within Emacs. I try both vterm, eshell, shell and ssh and all return the same error. If I try the same from ...
Riccardo's user avatar
  • 133
1 vote
1 answer
146 views

I use a commercial backup server to which I can copy and access files with scp, rsync and some other ways. I can also do ssh USER@SERVER COMMAND for some commands, like ls, quota, rm etc., but I am ...
pst's user avatar
  • 276
3 votes
2 answers
221 views

I have a virtual machine in Google Cloud Compute where I can ssh/login as my own user, and then sudo to root in order to access files used by a systemd service. I would like to edit these files ...
dmvianna's user avatar
  • 432
0 votes
1 answer
197 views

I have a running docker containing simple C source file makefile and compile_commands file generated by bear. What I want to do is to make Flycheck-clangcheck lint my C code on the fly. However when I ...
tvishy's user avatar
  • 1
2 votes
1 answer
484 views

What happened? This is a problem that I was never able to solve and I always try to switch on another editor when I am coding on my remote machine. However, I think that I solution should be somewhere ...
vincenzopalazzo's user avatar
0 votes
2 answers
106 views

I need to start ssh-agent so that I can use tramp within Emacs. However, if I start emacs via the start up menu, the environment (i.e. bashrc) does not seem to be sourced whereas when I start emacs ...
CD86's user avatar
  • 603
1 vote
1 answer
171 views

I open the file like this, with hopping: C-x C-f /ssh:b0ef@ximian|sudo:ximian:/etc/nixos/configuration.nix RET If I call org-store link, I get this: [[file:/sudo:root@ximian:/etc/nixos/configuration....
Jason Hunter's user avatar
  • 1,236
0 votes
1 answer
228 views

I regularly use term-mode then ssh into a remote machine to run bash commands. I want to display the remote machine's hostname in my modeline. I added the relevant code for the modeline but I'm having ...
Matt's user avatar
  • 3
0 votes
1 answer
91 views

I am using emacs on a remote server in which I use ssh to connect to. My internet is sometimes unstable and admist working on the file my connection will break and the file I am working on will be ...
Abdulaziz Kamil's user avatar
0 votes
0 answers
59 views

Is anyone able to use Tramp with a gpg smart card or a gpg agent that manages ssh socket (so acts as an ssh agent)? For me it fails with file-error "Tramp failed to connect. If this happens ...
Daniel Krajnik's user avatar
1 vote
1 answer
812 views

Question I setup a SSH server on a Gentoo machine. I copied my identity file (public key) to the server under both the /root/.ssh and /home/i/.ssh (assuming the username is i). And I edit my /etc/...
k0takuk1's user avatar
0 votes
1 answer
54 views

I use tramp-shell for ssh to another machine. Setup as follows: (defun spawn-shell (name) "Invoke shell test" (interactive "MName of shell buffer to create: ") (pop-to-buffer ...
Noah's user avatar
  • 121
1 vote
1 answer
1k views

Both of my computers, says A and B, have a terminal that supports 24-bit color. Opening emacs on both terminals also show the 24-bit colors, e.g. executing M-x list-colors-display will list 556 ...
nougako's user avatar
  • 137
2 votes
1 answer
974 views

I have problem connecting via ssh using Tramp in Emacs on MS-Windows whenever the private ssh key I use is configured with a passphrase. Here's the problem : I. What works : On the command line ssh -...
Thibault Cimic's user avatar
3 votes
2 answers
1k views

Windows 10 has its own ssh.exe. I can use ssh.exe fine within eshell, but not for Tramp, e.g. /ssh:user@host:/tmp. Is there any way to enable Tramp with the built-in ssh (OpenSSH_for_Windows_8.1p1, ...
Zeta's user avatar
  • 1,198
1 vote
0 answers
73 views

For reasons that I don't want to get into, for some ssh connections I need to use an executable different from the one that TRAMP uses by default. Therefore, I am looking for a convenient way to ...
kjo's user avatar
  • 3,407
0 votes
1 answer
56 views

my .emacs.d/init.el has this : (global-set-key (kbd "C-<prior>") 'backward-page) (global-set-key (kbd "C-<next>") 'forward-page) It works fine on my machine but when ...
ychaouche's user avatar
  • 229
2 votes
1 answer
488 views

I have this weird setup that once I log onto our server with the sudo uat command, I will be logged in with my own user dadinn@uat. I have set up .ssh/config so that uat is really an alias for ...
Daniel Dinnyes's user avatar
0 votes
0 answers
49 views

The function org-insert-structure-template is bound to C-c C-,. I can confirm that when search that function via M-x and seeing the shortcut behind the function name. But I use Emacs (from Debian 11) ...
buhtz's user avatar
  • 789
0 votes
1 answer
827 views

I have an ssh config file generated by vagrant ssh that looks like this Host default HostName 127.0.0.1 User vagrant Port 2222 UserKnownHostsFile /dev/null StrictHostKeyChecking no ...
BigBoy1337's user avatar
0 votes
1 answer
594 views

After leaving Emacs open overnight, the SSH connection expires. However, the buffers that I left open, are still useful, and I want to continue working with them. However, many actions I do with Emacs ...
xelibrion's user avatar
  • 101
0 votes
2 answers
206 views

After running eshell, I was trying to establish a SSH connection and do some changes on the server: ssh [email protected] The connection was successfully established (the real IP address was ...
Pedro Delfino's user avatar
0 votes
1 answer
148 views

I get a weird bug and I am struggling to fix it. The problem occur only when writing files over 2900 characters through ssh with tramp. The file is correctly sent in remote machine, but tramp-perl-...
samd854587's user avatar
3 votes
1 answer
584 views

when copying files in tramp mode via ssh with Dired I am not able to do anything else in Emacs. Emacs is just not usable till this process has finished. Is there any way to use Emacs while it copies ...
cptflint's user avatar
  • 131
1 vote
0 answers
204 views

I have a couple of GCP projects which has IAP enabled on them and have compute engine instances which only have private IPs. So the only way to ssh into them is to use gcloud compute ssh with tunnel-...
Pannu's user avatar
  • 111
0 votes
1 answer
350 views

In my dotfiles I have the following setup to make ssh connections using my gpg key: .bash_profile: export GPG_TTY=$(tty) export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) gpgconf --launch ...
Reza's user avatar
  • 103
1 vote
0 answers
736 views

I am trying to work remotely on a typescript project, with lsp-mode and tramp, through SSH. I followed the documentation on lsp-mode web page to set up a remote client. Here is my config: (use-package ...
meguli's user avatar
  • 377
2 votes
1 answer
1k views

I am trying to connect to a remote server through SSH to edit some projects. I do C-x C-f and then /ssh:username:ip:. It displays a password prompt. I type my password and press RET. It takes very ...
meguli's user avatar
  • 377
1 vote
0 answers
367 views

I'm trying to edit files and execute commands on my virtual GNU/Hurd machine. However, TRAMP asks for password, connects when correct password given, and finally says: ~ $ cd /ssh:[email protected]....
Akib Azmain Turja's user avatar
0 votes
0 answers
86 views

I am not able to use TRAMP mode over tor. When I try to use something like M-x ssh://blabloblu.onion it just doesn't work. tramp-signal-hook-function: Tramp failed to connect. If this happens ...
Felipe's user avatar
  • 241
1 vote
0 answers
201 views

I am using emacs M-x shell command to create a shell, and from this shell I connect to a remote machine by using plink (PuTTY on windows). I have a problem with the prompt being presented twice. I ...
Runei's user avatar
  • 61
2 votes
1 answer
253 views

For work I sometimes have to connect to our enterprise VPN. When inside of the VPN, I can reach host remote per SSH, so the following TRAMP incantation works: C-x C-f /ssh:remote:/path/filename RET ...
Daniel's user avatar
  • 3,743
0 votes
0 answers
61 views

When using magit-gerrit for git gerrit reviews and magit-gerrit-ssh-creds is set then magit-gerrit assumes that there is a gerrit server and tries to connect to it using ssh subprocess. The problem is ...
Konrad Eisele's user avatar
0 votes
1 answer
1k views

CentOS 7, Emacs 27.1 Here content of file myFile.sh: ssh [email protected] So when in vterm mode I use this: ./myFile.sh then I success connect to the remote machine (ip = 10.111.11.111) by ...
a_subscriber's user avatar
  • 4,386
0 votes
0 answers
370 views

Edit: Solved... I'm using emacs 26.2, tramp 2.5.0, on OSX High Sierra 10.13.6... The server login requires: A normal password A passcode from a phone call The user has to specify a reason for the ...
Theodore Vadpey's user avatar
3 votes
3 answers
158 views

When connected to an old remote system with Tramp 2.4.3.27.1, the buffer shows no files. With tramp-verbose set to 6, I looked at the Tramp debug buffer, then found (anonymized): 13:27:21.657267 tramp-...
feklee's user avatar
  • 1,089