You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Spacemacs hangs for several minutes every time I launch Emacs, giving me these Tramp errors:
Tramp: Opening connection for bin using scp...
Tramp: Sending command `exec ssh -e none bin'
Tramp: Waiting for prompts from remote shell...
Timeout reached, see buffer `*tramp/scp bin*' for details
Tramp: Waiting for prompts from remote shell...failed
Tramp: Opening connection for bin using scp...failed
incandescentman
changed the title
Tramp errors on startup with even after following the instructions in the FAQ
Tramp errors on startup even after following the instructions in the FAQ
Mar 2, 2016
The message Sending command 'exec ssh -e none bin' is a clue that an error is occurring when exec-path-from-shell reads the path from the shell environment.
Once I figured this out, I checked my .bashrc and found the offending line:
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
Killing this line solved the Emacs launch problem.
incandescentman
changed the title
Tramp errors on startup even after following the instructions in the FAQ
Tramp: Waiting for prompts from remote shell... Sending command `exec ssh -e none bin'
Mar 7, 2016
My Spacemacs hangs for several minutes every time I launch Emacs, giving me these Tramp errors:
My tramp debug:
https://gist.github.com/2dc7672fb5aa22f06b53
I believe it's related to this:
emacs-helm/helm#1000
and this:
#3422 (comment)
I followed the directions from the Spacemacs FAQ, which suggests this solution:
(setq tramp-ssh-controlmaster-options "-o ControlMaster=auto -o ControlPath='tramp.%%C' -o ControlPersist=no")
This didn't have any effect.
I also tried this:
(setq tramp-ssh-controlmaster-options nil)
...but I got the same result.
The FAQ suggests that if the above doesn't work, you can try to put these settings directly in
~/.ssh/config
:So I did this, which caused the error message to change to this:
I did also try
tramp-cleanup-this-connection
also, but it too had no effect.How can I get Spacemacs to stop hanging on startup?
The text was updated successfully, but these errors were encountered: