ssh a scp mi nechteji znat "-i"

Petr Novotny Petr.Novotny na antek.cz
Pondělí Červenec 31 17:23:09 CEST 2000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 31 Jul 00, at 16:25, Milan Kerslager wrote:

> On Mon, 31 Jul 2000, Petr Novotny wrote:
> 
> > mate prosim nekdo nejaky napad, cim je zpusobeno tohle?
> > 
> > [root na backbone root]# ssh -i /var/directory/.ssh/id_dsa -l user
> > antek.vol.cz Enter passphrase for DSA key '/root/.ssh/id_dsa':
> > 
> > Vypada to, jako by mi ssh zvysoka kaslalo na -i parametr. Totez se
> > mi deje pri scp. Logy (messages i secure) na obou stranach mlci.
> 
> Ze by ssh -v ....  ??? Co to rika pak?

No dobre, zde je vypis. (Pokud se to nekomu nechce lustit, vezte, 
ze to parametr -i proste ignoruje a rovnou se to sape po 
/root/.ssh/id_dsa.)

[root na backbone dir]# ssh -v -i .ssh/id_dsa -l user antek.vol.cz
SSH Version OpenSSH_2.1.1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
debug: Reading configuration data /etc/ssh/ssh_config
debug: Applying options for *
debug: Seeding random number generator
debug: ssh_connect: getuid 0 geteuid 0 anon 0
debug: Connecting to antek.vol.cz [195.250.137.143] port 22.
debug: Seeding random number generator
debug: Allocated local port 955.
debug: Connection established.
debug: Remote protocol version 1.99, remote software version OpenSSH_2.1.1
Enabling compatibility mode for protocol 2.0
debug: Local version string SSH-2.0-OpenSSH_2.1.1
debug: send KEXINIT
debug: done
debug: wait KEXINIT
debug: got kexinit: diffie-hellman-group1-sha1
debug: got kexinit: ssh-dss
debug: got kexinit: 3des-cbc,blowfish-cbc,arcfour,cast128-cbc
debug: got kexinit: 3des-cbc,blowfish-cbc,arcfour,cast128-cbc
debug: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160 na openssh.com
debug: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160 na openssh.com
debug: got kexinit: zlib,none
debug: got kexinit: zlib,none
debug: got kexinit:
debug: got kexinit:
debug: first kex follow: 0
debug: reserved: 0
debug: done
debug: kex: server->client blowfish-cbc hmac-sha1 zlib
debug: kex: client->server blowfish-cbc hmac-sha1 zlib
debug: Sending SSH2_MSG_KEXDH_INIT.
debug: bits set: 530/1024
debug: Wait SSH2_MSG_KEXDH_REPLY.
debug: Got SSH2_MSG_KEXDH_REPLY.
debug: keytype ssh-dss
debug: keytype ssh-dss
debug: keytype ssh-dss
debug: Host 'antek.vol.cz' is known and matches the DSA host key.
debug: bits set: 512/1024
debug: len 55 datafellows 0
debug: dsa_verify: signature correct
debug: Wait SSH2_MSG_NEWKEYS.
debug: Enabling compression at level 6.
debug: GOT SSH2_MSG_NEWKEYS.
debug: send SSH2_MSG_NEWKEYS.
debug: done: send SSH2_MSG_NEWKEYS.
debug: done: KEX2.
debug: send SSH2_MSG_SERVICE_REQUEST
debug: service_accept: ssh-userauth
debug: got SSH2_MSG_SERVICE_ACCEPT
debug: authentications that can continue: publickey,password
debug: try pubkey: /root/.ssh/id_dsa
debug: PEM_read_bio_DSAPrivateKey failed
debug: read DSA private key done
Enter passphrase for DSA key '/root/.ssh/id_dsa':


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOYWLzlMwP8g7qbw/EQJz6wCdFExZH+ocN5gU0jVImL8wBXUhS5kAoKH5
UejF/n1mb2Zg2bdoDVtPFaQU
=159n
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
Petr.Novotny na antek.cz
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]


Další informace o konferenci Linux