# Command Line

# Quick Commands

These quick commands are executed directly on the Proxmox hosts. It is advisable to connect via SSH here, as sometimes the processes for the Web GUI are switched off.

### Reset MFA for local User

This command can be used to delete the MFA method of a local user. The correct user name must be specified for this. Here in the example it is "root@pam".

```bash
pveum user tfa delete root@pam
```

### Remove Node from Cluster

ATTENTION: This removes the host from a cluster (or deletes the cluster) and also deletes all configurations and links of the other nodes. This is necessary so that the hosts do not want to connect any legacy nodes afterwards

```
systemctl stop pve-cluster corosync
```

```
pmxcfs -l
```

```
rm -rf /etc/corosync/*
```

```
rm /etc/pve/corosync.conf
```

```
killall pmxcfs
```

```
systemctl start pve-cluster
```

```bash
rm -rf /etc/pve/nodes/
```

### Manage Virtual Machines

```bash
qm unlock <vmid>
```

```
qm start <vmid>
```

# Quick Links

On this page you will find a collection of important links and helpful blogs regarding Proxmox problems, information or changes.

### Proxmox APT Repo Configs

The following link describes the various apt source lists in the different PVE and Debian versions.

[https://pve.proxmox.com/wiki/Package\_Repositories#sysadmin\_no\_subscription\_repo](https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_no_subscription_repo)