ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] OpenSSH: с соседней машины DSA не работает
@ 2002-09-13  4:05 Прокопьев Евгений
    0 siblings, 1 reply; 2+ messages in thread
From: Прокопьев Евгений @ 2002-09-13  4:05 UTC (permalink / raw)
  To: community

Здравствуйте!

Позвольте всех поздравит с воскрешением рассылки! :-)

Теперь о печальном :-(

ОС - Мастер, openssh установлен по умолчанию. С помощью ssh-keygen -t 
dsa были сделаны ключи, и id_dsa.pub скопирован в authorized_keys. Вот 
содержимое ~/.ssh:

[john@john john]$ ls .ssh/ -l
итого 16
srw-------    1 john     firebird        0 Сен 10 13:05 agent
-rw-r--r--    1 john     firebird      614 Сен 10 11:40 authorized_keys
-rw-------    1 john     firebird      736 Сен 10 11:38 id_dsa
-rw-r--r--    1 john     firebird      614 Сен 10 11:38 id_dsa.pub
-rw-r--r--    1 john     firebird      219 Сен 10 11:41 known_hosts

ssh localhost отрабатывает замечательно:

[john@john john]$ ssh localhost
Enter passphrase for key '/home/john/.ssh/id_dsa':
Last login: Tue Sep 10 13:05:46 2002 from localhost.localdomain
[john@john john]$ exit
Connection to localhost closed.

На соседней машине стоит NT4, запускаю putty, в 
Connection->SSH->Auth->Private key file for authentication указываю путь 
к файлу id_dsa и получаю:

login as: john
Sent username "john"
Trying public key authentication.
No passphrase required.
Couldn't load private key from E:\Temp\id_dsa.
john@192.168.10.90's password:

Что я делаю не так?
-- 
С уважением, Прокопьев Евгений



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] Re: OpenSSH: с соседней машины DSA не работает
  @ 2002-09-13 11:30       ` Прокопьев Евгений
  0 siblings, 0 replies; 2+ messages in thread
From: Прокопьев Евгений @ 2002-09-13 11:30 UTC (permalink / raw)
  To: community

Michael Shigorin wrote:
> On Fri, Sep 13, 2002 at 02:44:53PM +0400, Прокопьев Евгений wrote:
> 
>>>а что в логе sshd?
>>
>>А где он лежит?
> 
> 
> sudo fgrep -r sshd /var/log

Ничего не нашел про подключение пользователя john за сегодняшний день, 
хотя одна попытка была и закончилась вышеприведенным сообщением putty

[root@john john]# fgrep -r sshd /var/log | grep 'Sep 13'

/var/log/auth/all:Sep 13 07:59:47 john sshd[946]: Server listening on 
0.0.0.0 port 22.
/var/log/auth/all:Sep 13 10:27:20 john pam_tcb[2794]: sshd: 
Authentication passed for tanusha from (uid=0)
/var/log/auth/all:Sep 13 10:27:20 john sshd[2794]: Accepted password for 
tanusha from 192.168.10.103 port 1087
/var/log/auth/all:Sep 13 10:27:20 john pam_tcb[2794]: sshd: Session 
opened for tanusha by (uid=0)
/var/log/auth/all:Sep 13 14:42:25 john sshd[8141]: Connection closed by 
192.168.10.103
/var/log/auth/messages:Sep 13 07:59:47 john sshd[946]: Server listening 
on 0.0.0.0 port 22.
/var/log/auth/messages:Sep 13 10:27:20 john pam_tcb[2794]: sshd: 
Authentication passed for tanusha from (uid=0)
/var/log/auth/messages:Sep 13 10:27:20 john sshd[2794]: Accepted 
password for tanusha from 192.168.10.103 port 1087
/var/log/auth/messages:Sep 13 10:27:20 john pam_tcb[2794]: sshd: Session 
opened for tanusha by (uid=0)
/var/log/auth/messages:Sep 13 14:42:25 john sshd[8141]: Connection 
closed by 192.168.10.103
/var/log/user/info:Sep 13 07:59:47 john sshd: sshd startup succeeded
/var/log/messages:Sep 13 07:59:47 john sshd[946]: Server listening on 
0.0.0.0 port 22.
/var/log/messages:Sep 13 07:59:47 john sshd: sshd startup succeeded
/var/log/messages:Sep 13 10:27:20 john pam_tcb[2794]: sshd: 
Authentication passed for tanusha from (uid=0)
/var/log/messages:Sep 13 10:27:20 john sshd[2794]: Accepted password for 
tanusha from 192.168.10.103 port 1087
/var/log/messages:Sep 13 10:27:20 john pam_tcb[2794]: sshd: Session 
opened for tanusha by (uid=0)
/var/log/messages:Sep 13 14:42:25 john sshd[8141]: Connection closed by 
192.168.10.103
/var/log/syslog/messages:Sep 13 07:59:47 john sshd[946]: Server 
listening on 0.0.0.0 port 22.
/var/log/syslog/messages:Sep 13 07:59:47 john sshd: sshd startup succeeded
/var/log/syslog/messages:Sep 13 10:27:20 john pam_tcb[2794]: sshd: 
Authentication passed for tanusha from (uid=0)
/var/log/syslog/messages:Sep 13 10:27:20 john sshd[2794]: Accepted 
password for tanusha from 192.168.10.103 port 1087
/var/log/syslog/messages:Sep 13 10:27:20 john pam_tcb[2794]: sshd: 
Session opened for tanusha by (uid=0)
/var/log/syslog/messages:Sep 13 14:42:25 john sshd[8141]: Connection 
closed by 192.168.10.103



-- 
С уважением, Прокопьев Евгений



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-13 11:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-13  4:05 [Comm] OpenSSH: с соседней машины DSA не работает Прокопьев Евгений
2002-09-13 11:30       ` [Comm] " Прокопьев Евгений

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git