Entradas

SSH Error ‘No Matching Exchange Method Found’

Imagen
Thanks to: https://www.petenetlive.com Unable to negotiate with x.x.x.x port 22: no matching key exchange found. Their offer diffie-hellman-group1-sha1 Note : You may also see the following error; Unable to negotiate with x.x.x.x port 22: no matching cipher found. Their offer: aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc Solution This is not Apple’s fault, it’s OpenSSH version 7. SHA1 is weak, so support for it has been removed. Which is fine, but all my clients Cisco Firewalls/Routers/Switches are probably all using  RSA/SHA1. So until they re all updated I’m going to need to re-enable SHA1. Open a terminal windows and execute the following; sudo nano /etc/ssh/ssh_config ENTER YOUR PASSWORD Locate the line ‘  #   MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160′  and remove the Hash/Pound sight from the beginning. Locate the line ‘  #   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc’  and rem...

Instalación Cisco IOU

Imagen
Thanks to: https://redesiano.blogspot.com/ Alguna vez no le ha pasado, que cuando comienzan a usar cosas más avanzadas, ya no sirve el cisco packet tracert. Normalmente nos mudamos al GNS3. La desventaja de usar GNS3 es que es limitado para el uso de Switches. Por ello, hay una herramienta que se llama Cisco IOU, el cual esta montado sobre UNIX en un Debian. Y os enseñaré como instalarlo. Programas que vamos a necesitar: VmWare Workstation Putty Hay que descargar el software IOU. El cual les voy a dejar el enlace en mi dropbox. Encontrarlo es un poco complicado, especialmente porque no es un software legal. Yo lo encontré en una pagina de torrents. Sino descarguen el enlace desde  aquí . Luego cuando lo extraigan hay que abrir este archivo. Luego que se abra el Vmware, hay que editar los Interfaces de Red. Y se hace abriendo Edit>Virtual Network Editor Luego a prender la Virtual Machine, y aparecerá lo siguiente:       Si se dan cuenta, en ...

Converting a Windows disk from MBR to GPT layout without data loss

Imagen
Thank to: http://www.running-system.com/ MBR-initialized disks are limited to a maximum addressable storage space of 2 TB. Other limitations are that MBR only supports a maximum of 4 primary partitions. If you need larger disks and/or more partitions you have to change the layout to GPT. With GPT, the maximum configurations for Windows are: 128 primary partitions 18 ExaByte addressable storage space The challenge is, that it is not possible to change the layout to GPT with windows standard tools if the disk already contains data. If you right-click the affected disk (Computer Management – Storage – Disk Management) the option “Convert to GPT Disk” will be greyed out. In my case, the tool GPTGEN was the resolution.  It enables you to change the disk layout from MBR to GPT without downtime and data loss (nevertheless take care that you have a valid backup before you start!!!). You can download the tool eg. here:  Sourceforge.net – GPTGEN Before you can ...

Error with creating SQL Server maintenance plans

Imagen
Thanks to: http://mssqllover.blogspot.com/ Issue: There are situations where a COM related error thrown while creating maintenance plan in SQL Server SSMS. Error Message: ======================================================================= ============================================================== Creating an instance of the COM component with CLSID {17BCA6E8-A95D-497E-B2F9- AF6AA475916F} from the IClassFactory failed due to the following error: c001f011. (Microsoft.SqlServer.ManagedDTS) Step 1: Traverse to the C:\Program Files\Microsoft SQL Server\100\DTS\binn directory and run the Following from the command Prompt: REGSVR32.EXE dts.dll Step 2:   Once done with registering the dts.dll you will get an successful information. Step 3:  You have to close the SSMS and   which will solve the problem in creating the maintenance problem.     Maintenance plan will be...

How to Set Up Database Mail for SQL Server Job Failures

Imagen
Thank to: https://www.sherweb.com/ Hi Everyone!! There is one task I configure quite often as a Database Administrator…  setting up Database Mail to send an email if a SQL Server job fails . It isn’t difficult, but if you miss one step, it won’t work. Ugh!! I’ll list all the steps here so it can be done quickly and easily without losing all but one strand of hair on your head. Here are the steps: 1. Configure Database Mail. 2. Create a SQL Server job. 3. Adjust the properties within the SQL Server Agent. 4. Create an Operator. 5. Adjust the SQL Server job to send on Failure. Configuring Database Mail To complete this step correctly, a properly configured mail server is needed. In most cases it is okay to use localhost, but that requires the installation of Microsoft IIS/SMTP. If your administrator will not allow the install of IIS on a server running SQL Server, get the name of a mail server that can be used. Step. 1 Open  SQL Server Management Stu...

Cisco ASA 5500 – Sub Interfaces and VLANS

Imagen
Thanks to: https://www.petenetlive.com/ In this scenario I’m going to have two  VLANs , one for my wired clients, and one for a ‘Guest WiFi’ that I’m setting up. I want the guest  WiFi  to run in its own separate  VLAN , so it can’t touch my corporate network. And I want to  NAT  both networks to my public  IP . Maximum number of sub interfaces , depends on the hardware model maximum number of VLANs so; Model Max VLANS 5506-X 5 (30 with Security Plus) 5506-W-X 5 (30 with Security Plus) 5506-H-X 30 5508-X 50 5510 50 (100 with Security Plus) 5512-X 10 (100 with Security Plus) 5515-X 100 5516-X 100 5520 150 5525-X 200 5540 200 5545-X 300 5550 250 5555-X 500 5580 250 5585-X 1024 Note : Sub interfaces are  NOT  supported on the  ASA  5505. Solution To create sub interfaces on a physical interface, that interface must have no settings on it (other than it should not be shutdown). Petes-ASA # ...