Skip to content

Conversation

@guptaNswati
Copy link
Contributor

This is to remove the ssh keys generated in post install of openssh-server. The keys are not needed as mpi-operator handles this automatically by mounting keys in a secret.

Mounts:
      /home/mpiuser/.ssh from ssh-auth (rw)
Volumes:
  ssh-auth:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  nvbandwidth-test-ssh
    
mpiuser@nvbandwidth-test-worker-0:~$ ls -al /home/mpiuser/ 
total 36
drwxr-x--- 1 mpiuser mpiuser 4096 Oct  7 21:45 .
drwxr-xr-x 1 root    root    4096 Oct  6 20:50 ..
-rw-r--r-- 1 mpiuser mpiuser  220 Jan  6  2022 .bash_logout
-rw-r--r-- 1 mpiuser mpiuser 3771 Jan  6  2022 .bashrc
drwx------ 3 mpiuser mpiuser 4096 Oct  7 21:45 .nv
-rw-r--r-- 1 mpiuser mpiuser  807 Jan  6  2022 .profile
drwxrwxrwt 3 root    root     140 Oct  7 21:45 .ssh
-rw-rw-r-- 1 mpiuser mpiuser   90 Oct  6 20:50 .sshd_config
-rw-r--r-- 1 mpiuser mpiuser    2 Oct  7 21:45 sshd.pid
mpiuser@nvbandwidth-test-worker-0:~$ ls -al /home/mpiuser/.ssh
total 4
drwxrwxrwt 3 root    root     140 Oct  7 21:45 .
drwxr-x--- 1 mpiuser mpiuser 4096 Oct  7 21:45 ..
drwxr-xr-x 2 root    root     100 Oct  7 21:45 ..2025_10_07_21_45_50.4072569291
lrwxrwxrwx 1 root    root      32 Oct  7 21:45 ..data -> ..2025_10_07_21_45_50.4072569291
lrwxrwxrwx 1 root    root      22 Oct  7 21:45 authorized_keys -> ..data/authorized_keys
lrwxrwxrwx 1 root    root      13 Oct  7 21:45 id_rsa -> ..data/id_rsa
lrwxrwxrwx 1 root    root      17 Oct  7 21:45 id_rsa.pub -> ..data/id_rsa.pub

Signed-off-by: Swati Gupta <[email protected]>
@copy-pr-bot
Copy link

copy-pr-bot bot commented Oct 7, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ArangoGutierrez ArangoGutierrez merged commit b9d88f4 into NVIDIA:main Oct 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants