[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to pass in a password to the ssh command line client?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 25 December 2002 9:16 pm, Mariano Kamp wrote:
...
> debug1: authentications that can continue:
> publickey,password,keyboard-interactive
> debug1: next auth method to try is publickey
> debug1: try privkey: /home/mkamp/.ssh/identity
> debug1: try pubkey: /home/mkamp/.ssh/id_rsa
> debug1: authentications that can continue:
> publickey,password,keyboard-interactive
> debug1: try privkey: /home/mkamp/.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
> mkamp@ejbbuilder.sourceforge.net's password:

Here is your problem - ssh has failed to find your public rsa key on the 
server (actually, although I am not sure, it may have failed to find your 
local private key to even try and contact the server) and is falling back to 
password authentication (ie is your password in the /etc/password file of the 
server).  So however much ssh-agent is setup with your password, its never 
going to be called into action






- -- 
Alan Chandler
alan@chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Csr1uFHxcV2FFoIRAvimAJ9Jm6CpsNTOm4QK9m7jvdgtwvuKYwCgrgPr
iX4tt7FKt43aByNycKF/GSQ=
=F38o
-----END PGP SIGNATURE-----



Reply to: