You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cluster: ShARC
Client OS: Mac OS Ventura 13.1 (Intel)
The script to start the remote vscode server, start_vscode_sharc.sh does not generate the password on Mac OS. I used a slightly different command as below to get it working.
Original command(line 325) VSCPASS=$(strings /dev/urandom | grep -o '[[:alnum:]]' | head -n 30 | tr -d '\n'; echo)
Cluster: ShARC
Client OS: Mac OS Ventura 13.1 (Intel)
The script to start the remote vscode server, start_vscode_sharc.sh does not generate the password on Mac OS. I used a slightly different command as below to get it working.
Original command(line 325)
VSCPASS=$(strings /dev/urandom | grep -o '[[:alnum:]]' | head -n 30 | tr -d '\n'; echo)
Updated Command
VSCPASS=$(cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 30 | head -n 1)
Command referenced from https://www.markusdosch.com/2022/05/generating-a-random-string-on-linux-macos/
strings /dev/urandom
does not print any output for me whilecat /dev/urandom
does.The text was updated successfully, but these errors were encountered: