public key auth / change username problem

Help
2010-01-05
2013-05-20
  • Gokhan Polat
    Gokhan Polat
    2010-01-05

    hi
    i try to authenticate with publickey authentication.
    i wrote a code as the example.
    but i get
    "Change of username or service not allowed"
    exception in the log.
    but i set same username both ssh connect properties and private key username setting.
    but it understand my initial username as "null"
    do you have any comment?

    thanks for any help