Skip to content

Not able to connect with ibm i in vscode getting Not connected to pub400.com! Check your credentials (All configured authentication methods failed) this errror #2152

Discussion options

You must be logged in to vote

Some suggestions:

  1. Change your password via 5250 and see if it changes anything.
  2. Check your home directory in 5250: WRKLNK '.'. It should be /home/swapnil10.
  3. Check the files in your home directory - that you own all the files. You can change ownership via 5250 command CHGOWN OBJ('/home/swapnil10/*') NEWOWN(SWAPNIL10) SUBTREE(*ALL)
  4. Run your SSH client in verbose mode: ssh -vvv [email protected] -p 2222 and check for any suspicious errors.

Code for IBM i is merely a SSH client like many other SSH clients, but you get more error information when using a regular SSH client. Make your login work in the SSH client - when it works here, it will also work in Code for IBM i.

If you can't make …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@swapniltake1
Comment options

@sebjulliand
Comment options

@swapniltake1
Comment options

Comment options

You must be logged in to vote
2 replies
@swapniltake1
Comment options

@chrjorgensen
Comment options

Answer selected by worksofliam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants