Browse Source

Merge pull request #40 from jcc6611/master

Updated the read.me
pull/43/head
Jeffery Russell 4 years ago
committed by GitHub
parent
commit
d547847222
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 99 additions and 56 deletions
  1. +97
    -54
      README.md
  2. +1
    -1
      src/mount_ssh_drive.py
  3. +1
    -1
      src/ssh_manager.py

+ 97
- 54
README.md View File

@ -44,15 +44,15 @@ Make sure that you have the following programs installed.
# SSH Manager # SSH Manager
``` ```
**************************************
* SSH manager V 1.1 *
* 1) user1@host_name *
* 2) user2@host_name_2 *
* A) Exit *
* B) Manager tools *
* C) Socks Tunnel *
* D) SSH Drive Manager *
**************************************
*****************************************
* SSH manager V 1.0 *
* 1) user1@name *
* 2) user2@host_name_2 *
* A) Exit *
* B) Manager tools *
* C) Socks Tunnel *
* D) SSH Drive Manager *
*****************************************
``` ```
## About ## About
@ -72,7 +72,7 @@ You can edit your bash configuration with an alias to make it easier to execute.
alias ss="python3 /path/to/this/file/ssh_manager.py" alias ss="python3 /path/to/this/file/ssh_manager.py"
``` ```
To make this easier, the configuation manager of this program will has the option to
To make this easier, the configuration manager of this program will has the option to
append this and a few other aliases to your bash manager. This will automatically append this and a few other aliases to your bash manager. This will automatically
use the location of the scripts in the file. use the location of the scripts in the file.
@ -84,13 +84,13 @@ it in the same directory as the source code.
## Usage ## Usage
After you accept the configuration you will see something like this. After you accept the configuration you will see something like this.
```` ````
**************************************
* SSH manager V 1.1 *
* A) Exit *
* B) Manager tools *
* C) Socks Tunnel *
* D) SSH Drive Manager *
**************************************
*****************************************
* SSH manager V 1.0 *
* A) Exit *
* B) Manager tools *
* C) Socks Tunnel *
* D) SSH Drive Manager *
*****************************************
************************************** **************************************
```` ````
@ -100,15 +100,15 @@ read any documentation. However...
Typing B will pull up this menu: Typing B will pull up this menu:
```` ````
**************************************
* Options *
* 1) Add Host *
* 2) Copy SSH key to server *
* 3) Remove host name *
* 4) Return to ssh manager *
* 5) Manage Configuration and Bash *
* 6) Exit *
**************************************
******************************************
* Options *
* 1) Add Host *
* 2) Copy SSH key to server *
* 3) Remove host name *
* 4) Return to ssh manager *
* 5) Manage Configuration and Bash *
* 6) Exit *
******************************************
Enter selection: Enter selection:
```` ````
This is where you can run the add host names to the manager -- same as adding them to This is where you can run the add host names to the manager -- same as adding them to
@ -127,15 +127,15 @@ for the hosts used.
If you added some accounts your main window should look like this: If you added some accounts your main window should look like this:
```` ````
**************************************
* SSH manager V 1.1 *
* 1) user1@host_name *
* 2) user2@host_name_2 *
* A) Exit *
* B) Manager tools *
* C) Socks Tunnel *
* D) SSH Drive Manager *
**************************************
*****************************************
* SSH manager V 1.0 *
* 1) user1@name *
* 2) user2@host_name_2 *
* A) Exit *
* B) Manager tools *
* C) Socks Tunnel *
* D) SSH Drive Manager *
*****************************************
```` ````
Now is the easy part. Simply enter the number of the computer you wish to connect to Now is the easy part. Simply enter the number of the computer you wish to connect to
@ -145,13 +145,13 @@ If you are interested in doing lots of socks proxies -- for whatever reason.
From the main menu type "C". From the main menu type "C".
```` ````
**************************************
* Socks Tunnel *
* 1) user1@host_name *
* 2) user2@host_name_2 *
* A) Exit *
* B) Main *
**************************************
*****************************************
* Socks Tunnel *
* 1) user1@host_name *
* 2) user2@host_name_2 *
* A) Exit *
* B) Main *
*****************************************
```` ````
Now whichever computer you select, it will open a socks proxy. To use the proxy use Now whichever computer you select, it will open a socks proxy. To use the proxy use
@ -163,19 +163,62 @@ localhost and port 8123.
This manager makes it easier to mount ssh drives using the "fusermount" command. This manager makes it easier to mount ssh drives using the "fusermount" command.
``` ```
**************************************
* SSH Drive Manager *
* 1) Mount SSH Drives *
* 2) Un-Mount SSH Drives *
* 3) Remove Remote Drive *
* 4) Add Drive to Mount *
* 5) View Drives *
* 6) Usage *
* 7) Manage Config *
* 8) Exit *
**************************************
*******************************************
* SSH Drive Manager *
* 1) Mount SSH Drives *
* 2) Un-Mount SSH Drives *
* 3) Remove Remote Drive *
* 4) Add Drive to Mount *
* 5) View Drives *
* 6) Usage *
* 7) Manage Config *
* 8) Forcefully Un-Mount SSH Drives *
* 9) Exit *
*******************************************
``` ```
# Benifits
# Benefits
This SSH manager will help to manage everything easily without any fails. This SSH manager will help to manage everything easily without any fails.
# Quote
This is a utility for printing ASCII art with a quote above it. The
quotes are added to quote.txt and are selected at random with
each run.
```
---------
< hi rose >
---------
\
/\ \ /\
/ \\'._ (\_/) _.'/ \
|.''._'--(o.o)--'_.''.|
\_ / `;=/ " \=;` \ _/
`\__| \___/ |__/`
\(_|_)/
" ` "
```
```
-------------
< hello world >
-------------
\
\
\ .-.
\(o.o)
|=|
__|__
//.=|=.\\
// .=|=. \\
\\ .=|=. //
\\(_=_)//
(:| |:)
|| ||
() ()
|| ||
|| ||
==' '==
```

+ 1
- 1
src/mount_ssh_drive.py View File

@ -153,7 +153,7 @@ def print_mount_menu():
""" """
Displays box which has mount menu options Displays box which has mount menu options
""" """
module.print_menu("SSH Drive Manager", ["1) Mount SSH Drives",
module.print_menu("SSH Drive Manager ", ["1) Mount SSH Drives",
"2) Un-Mount SSH Drives", "2) Un-Mount SSH Drives",
"3) Remove Remote Drive", "3) Remove Remote Drive",
"4) Add Drive to Mount", "4) Add Drive to Mount",

+ 1
- 1
src/ssh_manager.py View File

@ -41,7 +41,7 @@ def main():
menu.append("C) Socks Tunnel") menu.append("C) Socks Tunnel")
menu.append("D) SSH Drive Manager") menu.append("D) SSH Drive Manager")
module.print_menu("SSH manager V 1.0", menu)
module.print_menu("SSH manager V 1.0 ", menu)
i = input("Enter Option:") i = input("Enter Option:")

Loading…
Cancel
Save