Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Operating Systems > Unix
Register

Reply
 
LinkBack Thread Tools
Old 23.07.2002, 20:22   #1
4294967296
 
Boyov's Avatar
 
Join Date: 03 2002
Location: /proc/1
Age: 33
Posts: 379
Downloads: 4
Uploads: 0
Reputation: 0 | 0
Post SSH Probleem

Barev Lyudi

U menya vot kakya problema, nedavno ya installiroval odnu progu, kotoroy nujen bil ssh dlya sozdaniya
klyuchey, da eto i ne vajno chto ya delal , prosto posle etogo u menya etot ssh poletel v odnom
ochen' intimnom napravlenii

vot output , kogda ya pitayus connectitsya k kakomu libo
host-u (v pervi raz) on mne govorit

---------------------

[[email protected] dotslash]# ssh [email protected]
The authenticity of host 'na50.yerphi.am (212.42.193.70)' can't be established.
RSA key fingerprint is db:48:20:9e:30:a1:2c:14:71:b1:89:ad:a4:52:c3:b7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'na50.yerphi.am,212.42.193.70' (RSA) to the list of known hosts.
[email protected]'s password:
Last login: Tue Jul 23 13:46:15 2002
[[email protected] root]#

-----------------------

Xotya on i normalno connectitsya no , vot etot "RSA fingerprint" mmne ochen' ne nravitsya, potomu
chto prejde etogo ne bilo

K moemu hostu cherez SSH vaabshe nevozmojno connectnutsya (t.e. server vaabshe uletel, eshe dalshe chem client)
vot output

---------

[[email protected] root]# ssh [email protected]
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied (publickey,password,keyboard-interactive).
[[email protected] root]#
---------

Passwd ya yavno nabral pravilno

Inch kaseq ?

10x zaranee
__________________
Free your mind and your OS will follow
Reply With Quote
Old 23.07.2002, 20:56   #2
Студент
 
Join Date: 06 2002
Location: Yerevan
Posts: 258
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

U clienta vse vyglyadit ok. I believe fingerprint is the public key, tak chto on prosto zapisyvaet public key u sebya chtoby znat' kak kodirovat' v sleduyuschij raz.
Reply With Quote
Old 23.07.2002, 22:06   #3
Guru Apprentice
 
Join Date: 02 2002
Location: /dev/null
Age: 41
Posts: 524
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

sdelay ssh -v -v [email protected]
i prishli output suda
(chtob poluchit file s outputom
ssh -v -v [email protected] 2>ssh.out)
Reply With Quote
Old 24.07.2002, 18:16   #4
4294967296
 
Boyov's Avatar
 
Join Date: 03 2002
Location: /proc/1
Age: 33
Posts: 379
Downloads: 4
Uploads: 0
Reputation: 0 | 0
Post

2 Ektich

[[email protected] hartem]$ ssh -v -v [email protected]
OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 501 geteuid 0 anon 1
debug1: Connecting to aligrid [212.42.193.73] port 22.
debug1: temporarily_use_uid: 501/501 (e=0)
debug1: restore_uid
debug1: temporarily_use_uid: 501/501 (e=0)
debug1: restore_uid
debug1: Connection established.
debug1: read PEM private key done: type DSA
debug1: read PEM private key done: type RSA
debug1: identity file /home/hartem/.ssh/identity type -1
debug1: identity file /home/hartem/.ssh/id_rsa type -1
debug1: identity file /home/hartem/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_2.9p2
debug1: match: OpenSSH_2.9p2 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_2.9p2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,[email protected]
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,[email protected]
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none
debug2: kex_parse_kexinit: none
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,[email protected]
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,[email protected]
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: dh_gen_key: priv key bits set: 129/256
debug1: bits set: 1013/2049
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'aligrid' is known and matches the RSA host key.
debug1: Found key in /home/hartem/.ssh/known_hosts2:1
debug1: bits set: 1040/2049
debug1: ssh_rsa_verify: signature correct
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
debug1: authentications that can continue: publickey,password,keyboard-interactive
debug1: next auth method to try is publickey
debug1: try privkey: /home/hartem/.ssh/identity
debug1: try privkey: /home/hartem/.ssh/id_rsa
debug1: try privkey: /home/hartem/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug1: next auth method to try is password
[email protected]'s password:
debug2: packet_inject_ignore: current 61
debug2: packet_inject_ignore: block 16 have 5 nb 4 mini 1 need 3
debug2: we sent a password packet, wait for reply
debug1: authentications that can continue: publickey,password,keyboard-interactive
Permission denied, please try again.
[email protected]'s password:
debug2: packet_inject_ignore: current 61
debug2: packet_inject_ignore: block 16 have 5 nb 4 mini 1 need 3
debug2: we sent a password packet, wait for reply
debug1: authentications that can continue: publickey,password,keyboard-interactive
Permission denied, please try again.
[email protected]'s password:
debug2: packet_inject_ignore: current 61
debug2: packet_inject_ignore: block 16 have 5 nb 4 mini 1 need 3
debug2: we sent a password packet, wait for reply
debug1: authentications that can continue: publickey,password,keyboard-interactive
debug2: we did not send a packet, disable method
debug1: next auth method to try is keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug1: authentications that can continue: publickey,password,keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug1: authentications that can continue: publickey,password,keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug1: authentications that can continue: publickey,password,keyboard-interactive
debug2: we did not send a packet, disable method
debug1: no more auth methods to try
Permission denied (publickey,password,keyboard-interactive).
debug1: Calling cleanup 0x8063570(0x0)

Kstati v fail ego ne poluchaetsya zasunut', on je tam passwd spreashivaet

Ne znayu pomojet li eto, ya daje etot SSH server snosil potom zanovo stavil, same result

Spasibo
Reply With Quote
Old 24.07.2002, 20:59   #5
Guru Apprentice
 
Join Date: 02 2002
Location: /dev/null
Age: 41
Posts: 524
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Boyov, chto konkretno ti installiroval?
Chto-to poxozhee opisano http://groups.google.com/groups?hl=e....net&frame=off (pravda u nego s samogo nachala nichego ne rabotalo).

Prosto chtobi ubeditsa problema ne v servere: mozhet li kto-libo drugoj s drugim passwd s DRUGOJ mashini soedinitsa s tem zhe serverom? Ili ti so svoim passwd no s drugoj mashini?

Nadejus link pomozhet...
__________________
\/\/h47'5 1n 4 n4m3? 7h47 wh1(h w3 (4|| 4 r053,
8y 4ny 07h3r n4m3 w0u|d 5m3|| 45 5w337...
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 02:25.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.