Nem sikerul kulccsal kapcsolodnom egy bizonyos gephez. Mit csinalok rosszul?
Adott egy laptop, linux, openssh4.3. Errol probalnek kapcsolodni. Mas linuxos gepekre meg egy solaris-ra vigan mukodik. Viszont van egy hpux gep, openssh3.1. Ezt csinaltam: scp .ssh/id_dsa.pub [EMAIL PROTECTED]:.ssh/authorized_keys es ezutan az ssh [EMAIL PROTECTED] tovabbra is jelszot kerdez. ssh -v ezt irja: debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering public key: /home/gee/.ssh/id_dsa debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Offering public key: /home/gee/.ssh/id_rsa debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Trying private key: /home/gee/.ssh/identity debug1: Next authentication method: keyboard-interactive debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: password Egy mukodo Linuxra kapcsolodva ezt irja az ssh -v: debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering public key: /home/gee/.ssh/id_rsa debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Offering public key: /home/gee/.ssh/id_dsa debug1: Server accepts key: pkalg ssh-dss blen 433 debug1: Authentication succeeded (publickey). Azt latom, hogy a hp gepen es a mukodo linuxoson ugyanazok a .ssh konyvtar es benne az authorized_keys jogai. uwall:~# ls -ld .ssh drwxr-x--- 2 root root 1024 Jun 19 23:30 .ssh uwall:~# ls -l .ssh/auth* -rw-r--r-- 1 root root 603 Jun 19 23:30 .ssh/authorized_keys bill7/vt2:/home/vt2 ================================================= >ls -ld .ssh drwx------ 2 vt2 vt 96 Oct 26 13:45 .ssh bill7/vt2:/home/vt2 ================================================= >ls -l .ssh/auth* -rw-r--r-- 1 vt2 vt 603 Nov 2 16:13 .ssh/authorized_keys Nem ertem, mi a baja. Okozhatja az, hogy a masik oldalon korabbi az ssh? Ezt irja ki rola kapcsolodaskor: debug1: Remote protocol version 1.99, remote software version OpenSSH_3.1p1 debug1: match: OpenSSH_3.1p1 pat OpenSSH_2.*,OpenSSH_3.0*,OpenSSH_3.1* debug1: Enabling compatibility mode for protocol 2.0 Valami otlet? G _________________________________________________ linux lista - [email protected] http://mlf2.linux.rulez.org/mailman/listinfo/linux
