プロバの鯖がtelnetでしか入れないので、ユーザ権限でsshdを動かしたいです。 環境はsolaris。バイナリのssh、sshd、ssh-keygenがあります。 SSH Version 1.2.27 [sparc-sun-solaris2.5.1], protocol version 1.5. ちと古くてアレなんですが、コンパイルする環境がないので、これより新しいのは用意できません。
#これは余談ですが、x86のLinux/FreeSolaris上でクロスコンパイルとかできます?
現状:パスワード認証不可、RSA認証も不可です。
$ ssh -v -p 22222 nanashi@solaris.puge.ne.jp SSH Version OpenSSH-1.2.3, protocol version 1.5. Compiled with SSL. debug: Reading configuration data /home/nanashi/.ssh/config debug: Reading configuration data /etc/ssh/ssh_config debug: Applying options for * debug: ssh_connect: getuid 1000 geteuid 1000 anon 1 debug: Connecting to solaris.puge.ne.jp [2xx.xxx.xxx.xxx] port 22222. debug: Connection established. debug: Remote protocol version 1.5, remote software version 1.2.27 debug: Waiting for server public key. debug: Received server public key (768 bits) and host key (1024 bits). debug: Host 'solaris.puge.ne.jp' is known and matches the host key. debug: Encryption type: 3des debug: Sent encrypted session key. debug: Installing crc compensation attack detector. debug: Received encrypted confirmation. debug: Trying RSA authentication with key 'nanashi@hoge.com' debug: Server refused our key. debug: Doing password authentication. nanashi@solaris.puge.ne.jp's password: Permission denied, please try again. nanashi@solaris.puge.ne.jp's password: