Hello, I've been trying to get SSH to work on my linux virtual machine to logon to a remote host. With the help of this list, I've now got it working if I run from userid Root on my linux virtual machine.
I'm trying to get it to run now from a standard userid, operator. I've added a user, operator, and ran the ssh-keygen command and stored the identity and identity.pub files out in the /home/operator/.ssh/ directory. I also copied the known_hosts file from /root/.ssh to /home/operator/.ssh directory. The way it's working when I run it under root, is I issue the SSH command with the -l option to pass it a userid, and I get prompted from the remote host for a password, which the remote system adminstrator supplied for me. I get logged on and can run a limited set of commands on the remote host. When I try it from my operator userid, I receive the following: [operator@linuxtst .ssh]$ ssh -l yyyyyyyy xxx.xxx.xxx.xxx Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,password,keyboard-interactive). [operator@linuxtst .ssh]$ I never get prompted for the password. Here's the last part of my standard error output when I ran the command from root with the -v option: OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f debug1: Reading configuration data /usr/local/etc/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: restore_uid debug1: ssh_connect: getuid 0 geteuid 0 anon 1 . . . debug1: got SSH2_MSG_SERVICE_ACCEPT debug1: authentications that can continue: publickey,password,keyboard-interactive debug1: next auth method to try is publickey debug1: try privkey: /root/.ssh/id_rsa debug1: try privkey: /root/.ssh/id_dsa debug1: next auth method to try is keyboard-interactive debug1: authentications that can continue: publickey,password,keyboard-interactive debug1: next auth method to try is password >>>> at this point I get prompted for a password and enter it >>>>>>>>>>>>>>> debug1: packet_send2: adding 64 (len 56 padlen 8 extra_pad 64) debug1: ssh-userauth2 successful: method password Here's the last part of my standard error output when I ran the command from operator with the -v option: OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f debug1: Reading configuration data /usr/local/etc/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: restore_uid debug1: ssh_connect: getuid 503 geteuid 0 anon 1 . . . debug1: got SSH2_MSG_SERVICE_ACCEPT debug1: authentications that can continue: publickey,password,keyboard-interacti debug1: next auth method to try is publickey debug1: try privkey: /home/operator/.ssh/id_rsa debug1: try privkey: /home/operator/.ssh/id_dsa debug1: next auth method to try is keyboard-interactive debug1: authentications that can continue: publickey,password,keyboard-interacti debug1: next auth method to try is password >>>> at this point I don't get the password prompt >>>>>>>>>>>>>>> debug1: packet_send2: adding 64 (len 50 padlen 14 extra_pad 64) debug1: authentications that can continue: publickey,password,keyboard-interacti Permission denied, please try again. debug1: packet_send2: adding 64 (len 50 padlen 14 extra_pad 64) debug1: authentications that can continue: publickey,password,keyboard-interacti Permission denied, please try again. debug1: packet_send2: adding 64 (len 50 padlen 14 extra_pad 64) debug1: authentications that can continue: publickey,password,keyboard-interacti debug1: no more auth methods to try Permission denied (publickey,password,keyboard-interactive). debug1: Calling cleanup 0x4271e0(0x0) Is this enough information someone can tell me what I'm doing wrong? It's like standard in is taking data from someplace other than the keyboard. Thanks for your help. Mike Spaniol Blackwell North America, Inc. 6024 SW Jean Rd., Bldg. G Lake Oswego, OR 97035 (503) 684-1140 Ext. 1231