ssh_exchange_identification: Соединение, закрытое удаленным хостом на vnx машине (Linux)

Это не точно, что Вы хотите, но это может помочь:

  histdup (+)
    Controls handling of duplicate entries in the history list.  If set to `all' only unique his-
    tory  events are entered in the history list.  If set to `prev' and the last history event is
    the same as the current command, then the current command is not entered in the history.   If
    set  to  `erase'  and the same event is found in the history list, that old event gets erased
    and the current one gets inserted.  Note that the `prev' and `all' options  renumber  history
    events so there are no gaps.

Таким образом, Вы помещаете 'набор histdup = все' в Вашем .tcshrc, и в то время как Вы все еще получите тривиальные команды в своей истории, Вы только получите один экземпляр каждого, который, по крайней мере, уменьшает помеху.

1
09.01.2014, 12:56
1 ответ

Я вчера добавляю эту точно ту же самую проблему, На самом деле Вы, вероятно, объявляете, что имя хоста в Вашей конфигурации ssh и использовании другого соединяется.
В моем случае я имел, объявляют имя хоста foobar и я пытался соединиться на 192.168.0.55. Я заканчивал с тем же самым поведением.

1
27.01.2020, 23:53

Теги

Похожие вопросы