Results 1 to 4 of 4

Thread: How to startup SSH client with public key

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    How to startup SSH client with public key

    SSH client with public key work fine :-), but how to implement to running to startup without login admin?

    ssh -R 50000:194.228.x.x:22 username@194.228.x.x -k /etc/public_rsa_key

    thanks for all!!!

  2. #2
    Hi, please help!

    cat /usr/local/sbin/post-boot
    ssh -R 30000: -i /etc/dropbear_rsa_host_key username_real@194.228.x.x


    cat /usr/local/sbin/post-mount
    ssh -R 30000: -i /etc/dropbear_rsa_host_key username_real@194.228.x.x

    NOT WORK!!!
    Thanks for help!!!

  3. #3
    Join Date
    May 2004
    Moscow, Russia
    For me following code in post-mount works fine:

    while :
            ssh -i /usr/local/root/.ssh/identity -R 2222:localhost:22 ping -i 300 localhost
            echo "SSH exited" >> /tmp/syslog.log
            sleep 30
    given that asus's public key has been properly added to ~remote_host/.ssh/authorized_keys.

    After that if I want to access asus from remote host, I login there, and use
    ssh -p 2222 admin@localhost
    Ping -300 .. is necessary to prevent tunneling ssh from being murdered for inactivity.

    SO it goes,
    Last edited by RoofCat; 17-05-2005 at 08:29.

  4. #4

    Thumbs up

    Hi! thanks very much !!! This is work fine !!!

Similar Threads

  1. Services startup
    By byteZero in forum WL-500g Q&A
    Replies: 8
    Last Post: 14-05-2005, 13:47
  2. Customizing Startup Script
    By gwl in forum WL-500g Q&A
    Replies: 2
    Last Post: 30-12-2004, 00:44
  3. Public IPs for PCs behind a router
    By COOLIO_comes in forum WL-500g Q&A
    Replies: 4
    Last Post: 05-11-2004, 22:01
  4. The WL-HDD as Public FTP server
    By JanWing in forum WL-HDD Q&A
    Replies: 3
    Last Post: 02-10-2004, 15:04
  5. wl join at startup?
    By stab in forum WL-500g Q&A
    Replies: 1
    Last Post: 25-07-2004, 15:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts