Hello,
What I would like is a desktop ssh/sftp application creating for me which sends specific ssh commands which are preprogrammed, when click a button.
and also uploads files when click a button.
see advanced requirements.
## Deliverables
Hello,
What I would like is a desktop ssh/sftp application creating for me which does the following functions:
1) Desktop app has button called "reload broadcast"
When this button is pressed, desktop app creates a ssh connection to my server and using root details, sends the server the ssh command -
"reload_broadcast"
2) Another button called "reload asterisk" , which when pressed sends command - asterisk -rx "reload"
3) Function number 3 is a little more complicated:
I want 2 text fields on the desktop app, i want to enter new text in each field, then be able to click a button called "save" and it will save the 2 pieces of text overwriting a small part of a file located on the server, and then upload and overwrite the version on the server.
This can be done in 2 ways, when I enter the text in the 2 text fields and click save, it can open a ssh connection, and use the linux vi command to overwrite the parts of the file with the text in the textbox, or what mite be easier is just edit a local version of the file and then upload with sftp connection and overwrite version on server.
4) Function 4 is a status bar , whick works in this order:
When i click save (part of function 3), i want the status to show "saved" in red.
When i then click reload asterisk , i want the status to then show " running ######" and the ###### represents whatever it is that i last saved in the first text box, but only after i have clicked reload asterisk - when i come back to the desktop application after closing and reopening, i want it to still be showing "running ######" (whatever the last entry was).
5) function 5 - i want the last 5 unique entries into the text boxes to be saved as a drop down option.
General info:
The ssh commands i provide you, i know for a fact they work etc, so you dont need to worry about that, i just need you to replicate a human opening the ssh connection and entering the commands.
The file i want overwritten is in the place /etc/asterisk/[login to view URL]
One text box correlates to the line #3 dial_trunk= 1234;
One text box correlates to the line #4 dial_prefix= 5678;
In text box 1 I want the text entered to overwrite anything inbetween the = and the ; in this case overwrite 1234
In text box 2 I want the text entered to overwrite anything inbetween the = and the ; in this case overwrite 5678
I need a experienced coder which is going to able to do this easily.
I have attached a mockup, but left off the reset broadcast button, but you get the idea.
I also want the ability to create different sftp profiles like for instance ftp client filezilla, and be able to select which server i am using the application on.
the profiles will have to just use the details :
1) ip address for server
2) username, e.g. root
3) password
4) name of profile
Needs to run on windows xp and 7. server it will connect to is linux.
Thanks