powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Unix-системы [игнор отключен] [закрыт для гостей] / Permission denied, please try again.
10 сообщений из 10, страница 1 из 1
Permission denied, please try again.
    #34336620
griffith
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Не могу понять.
Есть два сервака
когда под своим логином захожу - то все прекрасно работает, а именно копирование с одного сервака на другой,
но когда это же пытаюсь сделать под root'ом из cron'а, то он пишет Permission denied, please try again.
В чем может быть дело?
...
Рейтинг: 0 / 0
Permission denied, please try again.
    #34336686
On-Lite
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Я так понял 2 сервака на линуксе... и копируешь через nfs.
На сервере nfs включи опцию no_root_squash.



------------------------------------------------------------
Не делай того, чего не пожелал бы себе...
...
Рейтинг: 0 / 0
Permission denied, please try again.
    #34336702
griffith
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
линукс, но копирую через SSH
...
Рейтинг: 0 / 0
Permission denied, please try again.
    #34336821
griffith
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
Permission denied, please try again.
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
Permission denied, please try again.
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: No more authentication methods to try.
Permission denied (publickey,password,keyboard-interactive).

Вот кулок из лога
...
Рейтинг: 0 / 0
Permission denied, please try again.
    #34336942
Фотография Ося
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
griffithdebug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
Permission denied, please try again.
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
Permission denied, please try again.
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: No more authentication methods to try.
Permission denied (publickey,password,keyboard-interactive).

Вот кулок из лога



неее, так дело не пойдет, кури вот эту доку
...
Рейтинг: 0 / 0
Permission denied, please try again.
    #34337158
griffith
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Да че то ты не то мне предлагаешь
...
Рейтинг: 0 / 0
Permission denied, please try again.
    #34338449
Фотография Ося
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
griffithДа че то ты не то мне предлагаешь

тээээкс, ну давай тады сереьезна разберемся:

1. команду из крон в студию
2. настройки обоих sshd в студию
...
Рейтинг: 0 / 0
Permission denied, please try again.
    #34345188
Фотография andrushok
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
А как по SSH cron ходить, то? Может ему чо в env не хватат ...
...
Рейтинг: 0 / 0
Permission denied, please try again.
    #34345207
A. Fig Lee
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
griffithdebug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
Permission denied, please try again.
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
Permission denied, please try again.
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: No more authentication methods to try.
Permission denied (publickey,password,keyboard-interactive).

Вот кулок из лога

Ну?
/root/.ssh/identity существуют? лог говорит, что их нет, поетому пыатется
запросить пассворд с клавиатуры.
попробуй без крона рутом, и без всякого "моего логина".
Или сделай крон под своим аккаунтом.
...
Рейтинг: 0 / 0
Permission denied, please try again.
    #34348300
Фотография andrushok
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Дык ключики в /root/.ssh/* проПисать надобы ...
...
Рейтинг: 0 / 0
10 сообщений из 10, страница 1 из 1
Форумы / Unix-системы [игнор отключен] [закрыт для гостей] / Permission denied, please try again.
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]