Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode remote-ssh password prompt doesn't appear

I was trying to connect my VSCode to remote machine using remote-ssh plugin. I added the host name, port and user in the .ssh config file. The problem I had was that there was no password prompt appeared hence I couldn't enter my password and the VSCode remote-ssh connection failed. I tested the connection using ssh in a terminal and it worked, which means there was no problem with the connection itself. Thanks!

like image 785
eng2019 Avatar asked Feb 15 '26 05:02

eng2019


1 Answers

Try to edit settings.json file. Add:

"remote.SSH.showLoginTerminal": true,
"remote.SSH.useLocalServer": false,
"remote.SSH.configFile": <path_to_ssh_config>
like image 97
Xhino Mullaymeri Avatar answered Feb 18 '26 18:02

Xhino Mullaymeri



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!