www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

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

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
Wartanox



Joined: 21 Mar 2012
Posts: 3

PostPosted: Thu May 10, 2012 9:58 am    Post subject: (Solved) SSH :direct access to the Shell Prompt ? Reply with quote

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


Last edited by Wartanox on Thu May 10, 2012 2:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
jeraeza



Joined: 04 May 2012
Posts: 2

PostPosted: Thu May 10, 2012 2:16 pm    Post subject: Reply with quote

Try and take a look here:

http://www.zeroshell.net/eng/forum/viewtopic.php?p=5934

and also here:

http://www.zeroshell.net/eng/forum/viewtopic.php?p=9234

Hope this helps Smile
Back to top
View user's profile Send private message
Wartanox



Joined: 21 Mar 2012
Posts: 3

PostPosted: Thu May 10, 2012 2:51 pm    Post subject: Reply with quote

It helps a lot,

thanks jeraeza
Back to top
View user's profile Send private message
reaperz



Joined: 13 Apr 2012
Posts: 93

PostPosted: Thu May 10, 2012 8:26 pm    Post subject: Reply with quote

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 "adminpasswd\r"
expect "Z e r o S h e l l"
send "S"
expect "admin password:"
send "adminpasswd\r"
expect ">"
send "wc -l /proc/net/ip_conntrack\r"
expect ">"
send "exit\r"
close
Back to top
View user's profile Send private message
best_rock



Joined: 06 Sep 2013
Posts: 2

PostPosted: Fri Sep 06, 2013 6:47 am    Post subject: Reply with quote

I'm looking forward from a long time period for your link. This link is working in a better way .
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group