tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't authenticate with RSA keys


From: Rick
Subject: Re: Can't authenticate with RSA keys
Date: Thu, 19 Feb 2015 21:58:38 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hi Michael,
I did include my settings "Aliases and PATH" in .profile but had no luck.

Here is an example:

I use gid in emacs to find tags. I have this in my .emacs file:
(global-set-key [f4]           'gid)      

(defvar gid-command "gid" "The command run by the gid function.")
(defun gid (args)
  (interactive (list (word-around-point)))
  ;; Dynamically set the compilation-start-hook to setup gid highlighting
  (let* ((compilation-start-hook '(my-gid-highlight-setup))
         (compilation-buffer-name-function (lambda (mode) "*gid*"))
         ;; Assuming the token to be searched is at the end of args
         (search-token (car (last (split-string args))))
         )
    ;; Set the regexp used to highlight the token (use in "my-highlight-regexp")
    (setq my-current-id-regexp (format ":[0-9]+:.*\\(%s\\)" search-token))
    ;; Start gid
    (compilation-start (concat gid-command " " args)))
  )

I included both, an alias to gid's path and the PATH itself like so:

alias gid='/import/freetools/exe/gid'
PATH= /import/freetools/exe/gid:PATH; export PATH;

I tried to comment one and keep the other each time.

But still, whenever I try gid, this what I see:

gid  someterm
/bin/sh: gid: not found


What is missing in my setup?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]