Reset RDP Sessions

When using Windows RDP you may encounter the error message ‘The terminal server has exceeded the maximum number of allowed connections’. You can delete open sessions or use the admin switch to administer the server.

At the command prompt:
To administer the server:

mstsc /v:<server> /admin

To obtain a list of current sessions:

query session /server:<server>

To close a session – [ID] can be found from session list

reset session [ID] /server:<server>

Get Serial Number From A Windows Machine

On a Windows based operating system you can find out the serial number for a machine using WMIC – the command line interpreter for WMI. This can be used for the local machine or a remote machine.

From the command prompt:

For the local machine

wmic bios get serialnumber

For remote machine(s) using /node

wmic /node:[ADDRESS/COMPUTER NAME] bios get serialnumber

Computer names either comma delimited or listed within a file. File names have to be prefixed with &. Computer names/addresses within the file must be comma delimited or on separate lines.

Using OpenSSH on a Linux Server with Filezilla

On your linux server install OpenSSH if not already present.

apt-get install openssh-server
yum install openssh-server

Using Filezilla on a client enter the relavent details using the SSH protocol SFTP and user credentials setup on the server.

Filezilla will ask you if you want to trust the connection and will display the rsa key. SSH keys are generally stored in /etc/ssh/. You can view the rsa key on the server by typing:

ssh-keygen -lf /etc/ssh/ssh_host_rsa_key

For more direct remote management using SSH you can use cross-platfrom tools such as PuTTY or the FireSSH extension for the Firefox web browser