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

SSH extension installation step (will slow down script if already installed,...

SSH extension installation step (will slow down script if already installed, but catches issues on machines where it isn't); Set flag to overwrite SSH config entirely
parent daa43fd4
No related branches found
No related tags found
No related merge requests found
...@@ -11,5 +11,6 @@ IF EXIST "C:\Users\%username%\.ssh\csctcloud\" ( ...@@ -11,5 +11,6 @@ IF EXIST "C:\Users\%username%\.ssh\csctcloud\" (
del /q "C:\Users\%username%\.ssh\csctcloud" del /q "C:\Users\%username%\.ssh\csctcloud"
) )
CALL az ssh config --ip csctcloud.uwe.ac.uk --file "C:\Users\%username%\.ssh\config" --keys-destination-folder "C:\Users\%username%\.ssh\csctcloud" CALL az extension add --upgrade -n ssh
CALL az ssh config --ip csctcloud.uwe.ac.uk --overwrite --file "C:\Users\%username%\.ssh\config" --keys-destination-folder "C:\Users\%username%\.ssh\csctcloud"
CALL code -n --remote ssh-remote+csctcloud.uwe.ac.uk CALL code -n --remote ssh-remote+csctcloud.uwe.ac.uk
\ 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