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



------------------------------------------------------------
Не делай того, чего не пожелал бы себе...
...
Рейтинг: 0 / 0
16.02.2007, 14:49:10
    #34336702
griffith
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Permission denied, please try again.
линукс, но копирую через SSH
...
Рейтинг: 0 / 0
16.02.2007, 15:20:02
    #34336821
griffith
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Permission denied, please try again.
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
16.02.2007, 15:44:46
    #34336942
Ося
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Permission denied, please try again.
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
16.02.2007, 16:34:35
    #34337158
griffith
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Permission denied, please try again.
Да че то ты не то мне предлагаешь
...
Рейтинг: 0 / 0
17.02.2007, 16:37:15
    #34338449
Ося
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Permission denied, please try again.
griffithДа че то ты не то мне предлагаешь

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

1. команду из крон в студию
2. настройки обоих sshd в студию
...
Рейтинг: 0 / 0
20.02.2007, 19:57:14
    #34345188
andrushok
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Permission denied, please try again.
А как по SSH cron ходить, то? Может ему чо в env не хватат ...
...
Рейтинг: 0 / 0
20.02.2007, 20:08:17
    #34345207
A. Fig Lee
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Permission denied, please try again.
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
21.02.2007, 18:58:52
    #34348300
andrushok
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Permission denied, please try again.
Дык ключики в /root/.ssh/* проПисать надобы ...
...
Рейтинг: 0 / 0
Форумы / Unix-системы [игнор отключен] [закрыт для гостей] / Permission denied, please try again. / 10 сообщений из 10, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


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