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

Re: SSH et SCP



Bonjour,

On 2005-02-17 06:34:08 +0100, jean-michel.caricand wrote:
> Mon problème est résolu. En fait une ligne affichant un message lors
> de l'ouverture d'une session (dans mon .bashrc) provoquait ce
> comportement étrange de scp. La mettre en commentaire a tout résolu.

J'ai ceci dans mon .zshenv (j'utilise zsh comme shell) et cela ne
perturbe pas scp:

[[ $SHLVL -eq 1 && -n $SSH_CONNECTION ]] &&
  echo "Connected to $HOST (from ${SSH_CONNECTION%% *})" >&2

En revanche, fsh ne fonctionne pas avec ça, car j'envoie plus de
15 caractères dans stderr (cf bug 294907).

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Reply to: