Skip to content
Snippets Groups Projects
Commit a4bdc382 authored by Owen Jones's avatar Owen Jones
Browse files

current list of troubleshooting help

parent 0c14b2c4
Branches
No related tags found
No related merge requests found
# CSCT Cloud
\ No newline at end of file
# CSCT Cloud
## Quick Connect
Current WIP to quickly setup an SSH connection to the server, using `az ssh config` to generate the necessary SSH config and SSH key (and install it on the server) in one step.
## Troubleshooting
** Permission denied (publickey) **
If an SSH config exists (it'll be created when they first setup a connection through vscode), open it up and check:
* User is their full UWE email address (including host portion), spelt correctly, all in lowercase
* Host is `csctcloud.uwe.ac.uk` (spelt correctly)
* IdentityFile either correctly points to directory on H:\ drive, or on personal machines to C:\Users\X, /Users/X, or /home/X, or is omitted (so default key file used)
If this is all correct/they haven't got to setting up vscode yet:
* Look in .ssh folder (check this matches what is in SSH config) and check both public and private key are present
* Open up public key in notepad and check not malformed or accidentally overwritten
Get them to connect to the server using Azure CLI (`az login`):
* Have they created the .ssh folder?
* Have they created an authorized_keys file -- is this spelt correctly?!
* In the authorized_keys file have they correctly copied the public key (and not their private key, or saved a blank file etc.)?
If in doubt just generate a new keypair and try copying that...
** Issue with installing Azure CLI SSH extension (`az ssh`) **
Installation fails with pip error, running with --debug flag will show problem with winreg.XX function call (file not found). Issue is caused by conflicting Anaconda libraries being included by Azure CLI during extension install.
Temporarily change Anaconda directory to prevent conflict during extension installation:
* Change: `C:/Users/<username>/anaconda3` to `C:/Users/<username>/anaconda3_temp`
* Retry ssh extension installation `az ssh ...`
* Revert anaconda3 directory name back to original
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment