SSH access configuration issue

1 post / 0 new
sunmenone
sunmenone's picture
SSH access configuration issue

Hello,

 

I hope anybody could help me. I tried to enable SSH with the readme.doc. I followed this steps:

 

  1. Enter to your router console by telnet.

 

  1. Make /tmp/ssh directory and enter to it:

mkdir  /tmp/ssh

cd /tmp/ssh

 

  1. Generate your RSA private key using dropbear:

dropbearkey -t rsa -s 2048 -f id_dropbear

 

  1. Output your public key:

dropbearkey -y -f id_dropbear | grep "^ssh-rsa " > id_rsa.pub

 

  1. Create your /root/.ssh/authorized_keys file:

mkdir /root/.ssh

cat id_rsa.pub > /root/.ssh/authorized_keys

chmod 0600 /root/.ssh/authorized_keys

 

  1. Convert your private dropbear key to OpenSSH format:

dropbearconvert dropbear openssh id_dropbear id_rsa

 

 

Backup your private and public keys on USB drive (example):

 

  1. Insert your USB drive into router.

 

  1. Check its mount point (should be /mnt/sda1 or /mnt/sdb1 or /mnt/sdc1 etc.)

 

  1. Backup your private and public RSA keys to USB drive, to folder /ssh:

mkdir /mnt/sda1/ssh

cp /tmp/ssh/* /mnt/sda1/ssh

----

Now I don't know how I can import the keys on my mac to use it with the telnet application.

Anybody has an idea?

 

Thanks