Ad Home

Enable SSH in ubuntu

Share:

 #Install ssh in Ubuntu
sudo apt update
sudo apt install openssh-server
sudo systemctl status ssh
sudo ufw allow ssh

#iniciar servicio
sudo /etc/init.d/ssh start

sudo apt remove openssh-server
sudo apt install openssh-server

# SSH Ubuntu to Cisco
https://www.youtube.com/watch?v=oUI-BiD6aXM&ab_channel=FutureOnCloud

 sudo su
 cd /etc/ssh
 vi ssh_config
    KexAlgorithms diffie-hellman-group1-sha1
    Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
    HostKeyAlgorithms = +ssh-rsa
    PubkeyAcceptedAlgorithms = +ssh-rsa
    

#For IOS-XE

KexAlgorithms diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

#Cisco IOS error

Unable to negotiate with 192.168.80.40 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

No hay comentarios

COMENTA CON TU PERFIL DEFACEBOK

Ad Home