hpcfund icon indicating copy to clipboard operation
hpcfund copied to clipboard

unable to ssh into login node

Open kevinfleisher opened this issue 1 year ago • 5 comments

Hello,

I was trying to move a copy of some data via rsync from the AMD HPC onto my university's HPC, and I am concerned that I raised some security alert for my account. I cannot seem to login to the hpfund via ssh from the terminal on my laptop and am wondering if my port is being blocked. Does this sound plausible? I had issues with the rsync as I made a mistake by not explicitly setting the full path to the save directory on my university's HPC with rsync, causing a whole issue with symbolic links and I am wondering if this is somehow connected.

Here is what I am seeing in the terminal being output when I try to ssh:

`[03:54:43.412] Log Level: 2 [03:54:43.415] SSH Resolver called for "ssh-remote+hpcfund.amd.com", attempt 1 [03:54:43.415] "remote.SSH.useLocalServer": true [03:54:43.415] "remote.SSH.useExecServer": false [03:54:43.416] "remote.SSH.path": undefined [03:54:43.416] "remote.SSH.configFile": undefined [03:54:43.416] "remote.SSH.useFlock": true [03:54:43.416] "remote.SSH.lockfilesInTmp": false [03:54:43.416] "remote.SSH.localServerDownload": auto [03:54:43.416] "remote.SSH.remoteServerListenOnSocket": false [03:54:43.416] "remote.SSH.showLoginTerminal": false [03:54:43.416] "remote.SSH.defaultExtensions": [] [03:54:43.416] "remote.SSH.loglevel": 2 [03:54:43.416] "remote.SSH.enableDynamicForwarding": true [03:54:43.416] "remote.SSH.enableRemoteCommand": false [03:54:43.416] "remote.SSH.serverPickPortsFromRange": {} [03:54:43.417] "remote.SSH.serverInstallPath": {} [03:54:43.418] VS Code version: 1.86.2 [03:54:43.418] Remote-SSH version: [email protected] [03:54:43.418] darwin arm64 [03:54:43.419] SSH Resolver called for host: hpcfund.amd.com [03:54:43.419] Setting up SSH remote "hpcfund.amd.com" [03:54:43.420] Acquiring local install lock: /var/folders/cb/60cwk0p11xlb44c1wfxs0_2r0000gn/T/vscode-remote-ssh-2edeac5a-install.lock [03:54:43.421] Looking for existing server data file at /Users/kevinfleisher/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-2edeac5a-903b1e9d8990623e3d7da1df3d33db3e42d80eda-0.108.0-tr/data.json [03:54:43.421] Using commit id "903b1e9d8990623e3d7da1df3d33db3e42d80eda" and quality "stable" for server [03:54:43.423] Install and start server if needed [03:54:43.425] PATH: /opt/anaconda3/bin:/opt/anaconda3/condabin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin [03:54:43.426] Checking ssh with "ssh -V" [03:54:43.430] > OpenSSH_9.4p1, LibreSSL 3.3.6

[03:54:43.431] askpass server listening on /var/folders/cb/60cwk0p11xlb44c1wfxs0_2r0000gn/T/vscode-ssh-askpass-d3064002825263a3cc89ddaf3f4407268c7ea4db.sock [03:54:43.431] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/cb/60cwk0p11xlb44c1wfxs0_2r0000gn/T/vscode-ssh-askpass-a170c275bb26483b47fbe6d620bdb45c6afdb75d.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","55021","-o","ConnectTimeout=15","hpcfund.amd.com"],"serverDataFolderName":".vscode-server","dataFilePath":"/Users/kevinfleisher/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-2edeac5a-903b1e9d8990623e3d7da1df3d33db3e42d80eda-0.108.0-tr/data.json"} [03:54:43.431] Local server env: {"SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.EmaexPBoXx/Listeners","SHELL":"/bin/zsh","DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/kevinfleisher/.vscode/extensions/ms-vscode-remote.remote-ssh-0.108.0/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/private/var/folders/cb/60cwk0p11xlb44c1wfxs0_2r0000gn/T/AppTranslocation/42AC957D-0B9F-42E8-9A07-63978DD7AB92/d/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"","VSCODE_SSH_ASKPASS_MAIN":"/Users/kevinfleisher/.vscode/extensions/ms-vscode-remote.remote-ssh-0.108.0/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/cb/60cwk0p11xlb44c1wfxs0_2r0000gn/T/vscode-ssh-askpass-d3064002825263a3cc89ddaf3f4407268c7ea4db.sock"} [03:54:43.432] Spawned 82136 [03:54:43.517] > local-server-1> Running ssh connection command: ssh -v -T -D 55021 -o ConnectTimeout=15 hpcfund.amd.com [03:54:43.517] > local-server-1> Spawned ssh, pid=82141 [03:54:43.520] stderr> OpenSSH_9.4p1, LibreSSL 3.3.6 [03:54:58.533] stderr> ssh: connect to host hpcfund.amd.com port 22: Operation timed out [03:54:58.533] > local-server-1> ssh child died, shutting down [03:54:58.536] Local server exit: 0 [03:54:58.536] Received install output: local-server-1> Running ssh connection command: ssh -v -T -D 55021 -o ConnectTimeout=15 hpcfund.amd.com local-server-1> Spawned ssh, pid=82141 OpenSSH_9.4p1, LibreSSL 3.3.6 ssh: connect to host hpcfund.amd.com port 22: Operation timed out local-server-1> ssh child died, shutting down

[03:54:58.537] Resolver error: Error: The operation timed out at g.Offline (/Users/kevinfleisher/.vscode/extensions/ms-vscode-remote.remote-ssh-0.108.0/out/extension.js:2:460296) at /Users/kevinfleisher/.vscode/extensions/ms-vscode-remote.remote-ssh-0.108.0/out/extension.js:2:456409 at t.handleInstallOutput (/Users/kevinfleisher/.vscode/extensions/ms-vscode-remote.remote-ssh-0.108.0/out/extension.js:2:456636) at e (/Users/kevinfleisher/.vscode/extensions/ms-vscode-remote.remote-ssh-0.108.0/out/extension.js:2:518696) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async /Users/kevinfleisher/.vscode/extensions/ms-vscode-remote.remote-ssh-0.108.0/out/extension.js:2:540605 at async t.withShowDetailsEvent (/Users/kevinfleisher/.vscode/extensions/ms-vscode-remote.remote-ssh-0.108.0/out/extension.js:2:544264) at async /Users/kevinfleisher/.vscode/extensions/ms-vscode-remote.remote-ssh-0.108.0/out/extension.js:2:515401 at async T (/Users/kevinfleisher/.vscode/extensions/ms-vscode-remote.remote-ssh-0.108.0/out/extension.js:2:513452) at async t.resolveWithLocalServer (/Users/kevinfleisher/.vscode/extensions/ms-vscode-remote.remote-ssh-0.108.0/out/extension.js:2:514941) at async k (/Users/kevinfleisher/.vscode/extensions/ms-vscode-remote.remote-ssh-0.108.0/out/extension.js:2:537822) at async t.resolve (/Users/kevinfleisher/.vscode/extensions/ms-vscode-remote.remote-ssh-0.108.0/out/extension.js:2:541635) at async /Users/kevinfleisher/.vscode/extensions/ms-vscode-remote.remote-ssh-0.108.0/out/extension.js:2:807794 [03:54:58.539] ------`

Thanks.

kevinfleisher avatar May 18 '25 10:05 kevinfleisher

same here. just found ssh fails this morning.

yyou1996 avatar May 18 '25 14:05 yyou1996

Can ya'll try accessing again? Login node had to be bounced due to another user exhausting resources.

koomie avatar May 18 '25 23:05 koomie

Thank you! I seem to be able to ssh into the amd hpc fund login node just fine now.

kevinfleisher avatar May 19 '25 00:05 kevinfleisher

ssh seems to fail this morning

yyou1996 avatar Jun 05 '25 14:06 yyou1996

ssh seems to fail this morning

Correct. The system is down for maintenance. (https://github.com/AMDResearch/hpcfund/discussions/52)

koomie avatar Jun 05 '25 14:06 koomie