Networknet.nl Blog

Stay Connected

Archive for the ‘ssh’ tag

Windows Server 2008: SSH remote console with freeSSHd

without comments

If you managing routers,switches and linux machines than it really makes sense to install a SSH daemon on your Windows machines. I installed freeSSHd daemon which is free on couple of my Windows Server 2008 machines. See my log below:

What is freeSSHD?

freeSSHd, like it’s name says, is a free implementation of an SSH server. It provides strong encryption and authentication over insecure networks like Internet. Users can open remote console or even access their remote files thanks to buit-in SFTP server.

Current version: 1.2.1

Go to http://www.freesshd.com/index.php?ctt=download and download the latest version of freeSshD deamon.

Run and allow the setup file.

image

Click Next, Next, Next, Next and Install. Click Yes to generate the private keys.

image 

Click Yes to run the freeSshD as system service.

Click Finish to close the installation wizard.

image

Open FreeSSHd shortcut on the desktop. FreeSSHd will start and new icon will appear on the right side of the taskbar. Right-click and choose settings.

image

Click here to start it for SSH server.

Start putty or add mRemote SSH connection to your Windows Server:

image

PS: don’t expect too much on the performance as you would connect to a linux based SSH server; for example you can’t scroll uo;-( At least there is a remote shell and you can securely transfer files from Internet to it.

Written by Ivan Versluis

December 3rd, 2008 at 1:51 pm

Posted in Windows Server 2008

Tagged with , ,

VMware ESX: SSH remote management

without comments

After installing VMWare ESX 3.5 hypervisor host server I would like to manage this system with SSH remotely. Server is manufactured by Dell and the DRAC mgmt card interface is available but I prefer to use SSH. SSH is enabled by default but disallows access for root.

See my work log and screenshots how to enable this feature:

  • Login with root from the console
  • Change directory with “cd /etc/ssh”
  • Open sshd_config with “vi sshd_config”

image

  • Locate Authentication section and change “PermitRootLogin no” to “PermitRootLogin yes”; for going into edit mode type i; press ESC to exit

image

  • Type “:wq!” to save and exit the file
  • Restart the SSH deamon with “service sshd restart”

image

  • Start putty.exe or any of you favorite SSH remote management tools to connect to your ESX 3.5 server.

image

This procedure also applies to version 3.x. With this procedure I achieved to manage my ESX server remotely so I don’t need to use my remote management access card. SSH daemon also support secure file copy protocol which can be used to connect with WinSCP and download or upload any file/virtual machine to your VMFS file system.

image

Please be aware of any security implications! I enabled this kind of access because the management interface is sitting in a different VLAN than the vSwitch networks within virtual machine which are trunked amongst different networks.

Written by Ivan Versluis

September 12th, 2008 at 6:56 pm

Posted in ESX

Tagged with , , , , ,