wishlist: I can't get this to work - kex_exchange_identification: Connection closed by remote host

Hi, When i try to connect ssh -o 'ForwardAgent=yes' -o 'UserKnownHostsFile=/dev/null' -p 2222 localhost I got an error kex_exchange_identification: Connection closed by remote host Config

mcwnuq@xxxxxx > ~/wishlist > cat .wishlist/config.yaml
listen: 127.0.0.1
port: 2222

endpoints:
- name: xxx.xx
  address: xxx.xx:xxxx
  user: xxx

users:
- name: mcwnuq
  public-keys:
  - id_rsa

Docker command docker run -p 2222:2222 -v $PWD/.wishlist:/.wishlist docker.io/charmcli/wishlist:latest

PS: ssh-add -l 2048 SHA256:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX+XXXXX /home/mcwnuq/.ssh/id_rsa (RSA)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Hi, its works now flawlessly 😉 Thank you very much!

Can you try again on the latest? (docker pull and docker run again 😃 )

you should put the pubkey in plain text there:

users:
- name: mcwnuq
  public-keys:
  - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDXTlLdHrS+PRjQ6gfWXBy17...etc foo@bar