Originally posted by: styerd
I'm trying to setup passwordless ssh access to my HMC. On the HMC is "OpenSSH_4.2p1, OpenSSL 0.9.8a 11 Oct 2005" on my server "SSH Tectia Server 4.3.7 on powerpc-ibm-aix5.1.0.0". I can ssh with a password without a problem. I have a procedure to convert ssh keys between the versions but I need to scp over the public key file and convert it on the HMC before adding it to .ssh/authorized_keys2. Yes, perhaps I could walk it over with a USB drive but it would be nice if "scp" would work. I'm sure I'll want it for other things.
I see this after the password challenge ...
debug: Ssh2AuthKbdInteractiveClient/authc-kbd-interactive.c:268: Sending response packet.
debug: Ssh2/ssh2.c:774: Returning user input stream to original values.
debug: Ssh2Common/sshcommon.c:768: num_channels now 1
debug: SshTtyFlags/sshttyflags.c:294: Not a tty. (fd = 0)
debug: Ssh2ChannelSession/sshchsession.c:2829: Requesting subsystem sftp
debug: Ssh2Common/sshcommon.c:733: num_channels now 0
debug: Got session close with exit_status=1
I see web comments about stdout from bashrc causing issues but this is an HMC that IBM helped us set up just a couple weeks ago, there are no changes from the initial install and it doesn't look like there is any output there anyway. I see this when connecting with ssh ... it's probably typical ...
Keyboard-interactive:
Authentication successful.
Last login: Fri May 7 12:31:57 2010 from 131.23.1.2
Any suggestions?