Connecting to SSH on WSL after CLion script

Hi everyone, this has to be a really noob question because I can't find it anywhere. The solution may be obvious to many but it isn't to me and I apologise if this is a really basic question. I was trying to configure CLion after programming in C in Vim inside WSL (Debian). For that, I ran the CLion script for ssh configuration (for ubuntu but also works in debian). However, when trying to connect to ssh, none of my passwords work. I've tried my Windows password, as well as my Debian password and neither work. I tried toor just in case, but no deal either. I am out of ideas. Can anyone help me? It feels like such a basic step I'm missing... Thank you in advance :)

0

Hi, Vanda! 

What happens when you do ssh username@localhost -p2222 in Terminal?

As for the password: you need to specify user name and password of your account on the Debian machine. What error do you get when you do that?

0

请先登录再写评论。