宜しくお願い致します。 RedHat9(host1)─WAN─Redhat9(host2) | WAN | RedHat9(host3) としています。どのホストもバージョンは $ rpm -qa | grep ssh openssh-clients-3.5p1-11 openssh-askpass-gnome-3.5p1-11 openssh-server-3.5p1-11 openssh-3.5p1-11 openssh-askpass-3.5p1-11 で相互にパスワード認証は出来ています。 [user01@xxxxxxxxxxxxxxxx]$ ssh-keygen -t dsa [user01@xxxxxxxxxxxxxxxx]$ ssh-keygen -t rsa [user01@xxxxxxxxxxxxxxxx]$ ssh-keygen -t rsa1 [user01@xxxxxxxxxxxxxxxx]$ cat ~/.ssh/id_dsa.pub >> ~/authorized_keys [user01@xxxxxxxxxxxxxxxx]$ cat ~/.ssh/id_rsa.pub >> ~/authorized_keys [user01@xxxxxxxxxxxxxxxx]$ cat ~/.ssh/identity.pub >> ~/authorized_keys [user01@xxxxxxxxxxxxxxxx]$ scp -P 60001 user01@xxxxxxxxxxxxxxxx:~/authorized_keys ~/.ssh/ [user01@xxxxxxxxxxxxxxxx]$ ls -l ~/.ssh/authorized_keys -rw------- 1 user01 user01 1179 1月 8 11:17 /home/user01/.ssh/authorized_keys [user01@xxxxxxxxxxxxxxxx]$ ls -alF ~/ | grep ssh drwx------ 2 user01 user01 4096 12月 23 13:06 .ssh/ として # cat /etc/ssh/sshd_config | grep -v ^# | grep -v ^$ SyslogFacility AUTHPRIV LogLevel DEBUG3 IgnoreRhosts no RhostsRSAAuthentication yes HostbasedAuthentication yes PasswordAuthentication no X11Forwarding yes Subsystem sftp /usr/libexec/openssh/sftp-server [user01@xxxxxxxxxxxxxxxx]$ ssh -l user01 host1.dyndns.net -p 60001 としてアクセスできました。 続いて [user01@xxxxxxxxxxxxxxxx]$ ssh-keygen -t dsa [user01@xxxxxxxxxxxxxxxx]$ ssh-keygen -t rsa [user01@xxxxxxxxxxxxxxxx]$ ssh-keygen -t rsa1 [user01@xxxxxxxxxxxxxxxx]$ cat ~/.ssh/id_dsa.pub >> ~/authorized_keys [user01@xxxxxxxxxxxxxxxx]$ cat ~/.ssh/id_rsa.pub >> ~/authorized_keys [user01@xxxxxxxxxxxxxxxx]$ cat ~/.ssh/identity.pub >> ~/authorized_keys [user01@xxxxxxxxxxxxxxxx]$ scp -P 60001 user01@xxxxxxxxxxxxxxxx:~/authorized_keys ~/other_authorized_keys [user01@xxxxxxxxxxxxxxxx]$ cat ~/other_authorized_keys >> ~/.ssh/authorized_keys [user01@xxxxxxxxxxxxxxxx]$ ls -l ~/.ssh/authorized_keys -rw------- 1 user01 user01 1179 1月 8 11:17 /home/user01/.ssh/authorized_keys [user01@xxxxxxxxxxxxxxxx]$ ls -alF ~/ | grep ssh drwx------ 2 user01 user01 4096 12月 23 13:06 .ssh/ として追加しました。でも [user01@xxxxxxxxxxxxxxxx]$ ssh -l user01 host1.dyndns.net -p 60001 Permission denied (publickey,keyboard-interactive,hostbased). となってしまいます。 どうすればhost3からもアクセス出来るようになるのでしょうか?
Follow-Ups:
- [fol] Re: SSH$B$G8x3+80$NDI2CEPO?$N;EJ}$O(B?Tadasuke YAMAGUCHI
- Prev by Date: [fol] Real Election Reform
- Next by Date: [fol] Re: SSH$B$G8x3+80$NDI2CEPO?$N;EJ}$O(B?
- Previous by thread: [fol] Real Election Reform
- Next by thread: [fol] Re: SSH$B$G8x3+80$NDI2CEPO?$N;EJ}$O(B?
- Indexes:[Main][Thread]