title: Remove publickey from ssh login
body: <p>I'm trying to connect to an embedded board of mine through ssh. But upon trying to connect through <code>ssh -v -l root user@xx.xx.xx.xx</code>, I get a series of debug comments:</p>
  
  <blockquote>
    <p>dico@lithya:~$ sudo ssh -v -l root dico@foxboard2</p>
    
    <p>OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012</p>
    
    <p>debug1: Reading configuration data /etc/ssh/ssh_config</p>
    
    <p>debug1: /etc/ssh/ssh_config line 22: Applying options for *</p>
    
    <p>debug1: Connecting to foxboard2 [10.251.145.180] port 22.</p>
    
    <p>debug1: Connection established.</p>
    
    <p>debug1: permanently_set_uid: 0/0</p>
    
    <p>debug1: identity file /root/.ssh/id_rsa type -1</p>
    
    <p>debug1: identity file /root/.ssh/id_rsa-cert type -1</p>
    
    <p>debug1: identity file /root/.ssh/id_dsa type -1</p>
    
    <p>debug1: identity file /root/.ssh/id_dsa-cert type -1</p>
    
    <p>debug1: identity file /root/.ssh/id_ecdsa type -1</p>
    
    <p>debug1: identity file /root/.ssh/id_ecdsa-cert type -1</p>
    
    <p>debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 Debian-6</p>
    
    <p>debug1: match: OpenSSH_5.5p1 Debian-6 pat OpenSSH*</p>
    
    <p>debug1: Enabling compatibility mode for protocol 2.0</p>
    
    <p>debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1</p>
    
    <p>debug1: SSH2_MSG_KEXINIT sent</p>
    
    <p>debug1: SSH2_MSG_KEXINIT received
    debug1: kex: server->client aes128-ctr hmac-md5 none</p>
    
    <p>debug1: kex: client->server aes128-ctr hmac-md5 none</p>
    
    <p>debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024&lt;1024&lt;8192) sent</p>
    
    <p>debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP</p>
    
    <p>debug1: SSH2_MSG_KEX_DH_GEX_INIT sent</p>
    
    <p>debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY</p>
    
    <p>debug1: Server host key: RSA 18:14:33:1e:88:5f:ad:13:78:9f:36:10:b9:d2:27:e4</p>
    
    <p>debug1: Host 'foxboard2' is known and matches the RSA host key.</p>
    
    <p>debug1: Found key in /root/.ssh/known_hosts:1</p>
    
    <p>debug1: ssh_rsa_verify: signature correct</p>
    
    <p>debug1: SSH2_MSG_NEWKEYS sent</p>
    
    <p>debug1: expecting SSH2_MSG_NEWKEYS</p>
    
    <p>debug1: SSH2_MSG_NEWKEYS received</p>
    
    <p>debug1: Roaming not allowed by server</p>
    
    <p>debug1: SSH2_MSG_SERVICE_REQUEST sent</p>
    
    <p>debug1: SSH2_MSG_SERVICE_ACCEPT received</p>
    
    <p>debug1: Authentications that can continue: publickey,password</p>
    
    <p>debug1: Next authentication method: publickey</p>
    
    <p>debug1: Trying private key: /root/.ssh/id_rsa</p>
    
    <p>debug1: Trying private key: /root/.ssh/id_dsa</p>
    
    <p>debug1: Trying private key: /root/.ssh/id_ecdsa</p>
    
    <p>debug1: No more authentication methods to try.</p>
    
    <p>Permission denied (publickey,password).</p>
  </blockquote>
  
  <p>The connection is being established through port 22 so that isn't the problem. So, clearly there is a problem with public/private key authentication. Therefore, how can I make sure that the private/public keys through both my machine and the board are in sync? Or better yet, how do I solve this issue or completely remove any keys?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I've tried to connect to the board by specifying no public key authentication by <code>ssh -o PubkeyAuthentication=no dico@foxboard2</code>, but now it's asking me for a password. I've checked the <a href="http://www.acmesystems.it/ssh" rel="nofollow">site</a> but the password I type is incorrect. How can I remove a password request?</p>