(Solved) SSH :direct access to the Shell Prompt ?

Home Page Forums Network Management ZeroShell (Solved) SSH :direct access to the Shell Prompt ?

This topic contains 3 replies, has 0 voices, and was last updated by  Wartanox 5 years, 7 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43362

    Wartanox
    Member

    Hello,

    Do you know how to bypass the panel called “Command Menu” to directly access the Shell Prompt by SSH ?

    Or do you know a way to send the “S” by SSH ?

    I would like to write script to configure my Zeroshell remotly but the “menu” gives me a lot of trouble.

    Thanks you for your help and please excuse me for my english

    Warta

    #52345

    jeraeza
    Member
    #52346

    Wartanox
    Member

    It helps a lot,

    thanks jeraeza

    #52347

    reaperz
    Member

    I use “expect” to manage zeroshell and other stuff remotely. Fore example:

    #!/usr/local/bin/expect

    exp_version -exit 5.0

    set timeout 60
    spawn ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no admin@192.168.0.1
    expect “admin@192.168.0.1’s password:”
    send “adminpasswdr”
    expect “Z e r o S h e l l”
    send “S”
    expect “admin password:”
    send “adminpasswdr”
    expect “>”
    send “wc -l /proc/net/ip_conntrackr”
    expect “>”
    send “exitr”
    close

    #52348

    best_rock
    Member

    I’m looking forward from a long time period for your link. This link is working in a better way .

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.