> Нашёл ключ для пуска ssh в background режиме, но как быть с паролем? ты вообще читаешь что тебе люди отвечают? второй раз повторю: man ssh на предмет ключа -i
> При попытке передать команду спрашиает пароль, только после ответа шлёт > команду. > Читал про идентификацию по открытому ключу. В разных источниках этот способ > описан по-разному. не надо читать разные источники надо читать man ssh: -i identity_file Selects a file from which the identity (private key) for RSA or DSA authentication is read. The default is $HOME/.ssh/identity for protocol version 1, and $HOME/.ssh/id_rsa and $HOME/.ssh/id_dsa for protocol version 2. Identity files may also be specified on a per-host basis in the configuration file. It is possible to have multiple -i options (and multiple identi- ties specified in configuration files). $HOME/.ssh/authorized_keys Lists the public keys (RSA/DSA) that can be used for logging in as this user. The format of this file is described in the sshd(8) manual page. In the simplest form the format is the same as the .pub identity files. This file is not highly sensitive, but the recommended permissions are read/write for the user, and not accessible by others. ну и в секции SEE ALSO - ссылка на ssh-keygen > Как следствие, ничего не получилось. > Расскажите пожалуйста поподробнее, как идентифицироваться без пароля. ssh_keygen'ом генерируешь два ключа публичный кладешь на тот хост куда ты хочешь зайти в $HOME/.ssh/authorized_keys и заходишь на хост с помощью команды ssh -i тот_ключ_что_у_тебя_остался хост непубличный ключ можно положить к себе в $HOME/.ssh/identity тогда опция -i станет необязательна а так же можно прописать путь к этому ключу в $HOME/.ssh/config и положить его в произвольное место -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]