commit
c8b9cc59ae
@ -1,12 +1,21 @@
|
|||||||
# Tab Sorcery
|
# Tab Sorcery
|
||||||
|
|
||||||
This is still under development and will eventually cover more variables and connection types.
|
A helpful script for simplifying connections to servers and devices on your network.
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
Add the script as a source file in your shell prompt, such as a line similar to this:
|
Add the script as a source file in your shell prompt, such as a line similar to this:
|
||||||
```. $HOME/git/tab-sorcery/tab-sorcery.sh example.com 127.0.0.1```
|
|
||||||
|
|
||||||
The arguments in the example show the domain to scan for hostnames, and the IP address of the name server providing them.
|
```
|
||||||
Once done, all hostnames in the DNS zone should be available for SSH by a tab-completable alias of just the hostname.
|
. $HOME/git/tab-sorcery/tab-sorcery.sh example.com 127.0.0.1 bob.user
|
||||||
|
```
|
||||||
|
|
||||||
|
Arguments are:
|
||||||
|
```
|
||||||
|
Scan Domain (example.com)
|
||||||
|
Nameserver address (127.0.0.1)
|
||||||
|
Default username (bob.user)
|
||||||
|
```
|
||||||
|
|
||||||
|
Once done, all hostnames in the DNS zone should be available for SSH/Telnet/RDP by a tab-completable alias of just the hostname (in new shell sessions).
|
||||||
|
|
||||||
|
Loading…
Reference in new issue