connmgr(1) network utility connmgr(1)
NAME
connmgr - "CONNection ManaGeR" is a Perl wrapper to the command line clients: ssh, scp, ftp, telnet, rsh, rlogin and rcp using the CPAN module AppConfig for profile support. sshmgr - "SSH ManaGeR" is a wrapper to the command line SSH client. scmdmgr - same as sshmgr but executes a remote command instead of a login. sftpmgr - same as sshmgr but makes an sftp connection instead of ssh. scpget - wraps scp with the sshmgr profiles. scpput - same as scpget. ftpmgr - same as sftpmgr except for "normal" ftp. telnetmgr - same as sshmgr except for telnet. rloginmgr - same as sshmgr except for rlogin. rshmgr - same as scmdmgr except for rsh. rcpget - same as scpget except for rcp. rcpput - same as scpput except for rcp.
SYNTAX
sshmgr [-h|--help] [-V|--version] [-L <profile>] [-l|--list] sshmgr [-v] [[-p] <profile>] sshmgr [-v] [-H <host>] [-P <port>] [-U <user>] scmdmgr [-h|--help] [-V|--version] [-L <profile>] [-l|--list] scmdmgr [-v] [[-p] <profile>] '/bin/command' scmdmgr [-v] [-H <host>] [-P <port>] [-U <user>] '/bin/command' sftpmgr [-h|--help] [-V|--version] [-L <profile>] [-l|--list] sftpmgr [-v] [[-p] <profile>] sftpmgr [-v] [-H <host>] [-P <port>] [-U <user>] scpget [-h|--help] [-V|--version] [-L <profile>] [-l|--list] scpget [-r] [-v] [[-p] <profile>] <local> <remote> scpget [-r] [-v] [-H <host>] [-P <port>] [-U <user>] <local> <remote> scpput [-h|--help] [-V|--version] [-L <profile>] [-l|--list] scpput [-r] [-v] [[-p] <profile>] <local> <remote> scpput [-r] [-v] [-H <host>] [-P <port>] [-U <user>] <local> <remote> ftpmgr [-h|--help] [-V|--version] [-L <profile>] [-l|--list] ftpmgr [-v] [[-p] <profile>] ftpmgr [-v] [-H <host>] [-P <port>] [-U <user>] telnetmgr [-h|--help] [-V|--version] [-L <profile>] [-l|--list] telnetmgr [-v] [[-p] <profile>] telnetmgr [-v] [-H <host>] [-P <port>] [-U <user>] rloginmgr [-h|--help] [-V|--version] [-L <profile>] [-l|--list] rloginmgr [-v] [[-p] <profile>] rloginmgr [-v] [-H <host>] [-P <port>] [-U <user>] rshmgr [-h|--help] [-V|--version] [-L <profile>] [-l|--list] rshmgr [-v] [[-p] <profile>] 'cat foo >> bar' rshmgr [-v] [-H <host>] [-U <user>] 'cat foo ">>" bar' rcpget [-h|--help] [-V|--version] [-L <profile>] [-l|--list] rcpget [-r] [-v] [[-p] <profile>] <local> <remote> rcpget [-r] [-v] [-H <host>] <local> <remote> rcpput [-h|--help] [-V|--version] [-L <profile>] [-l|--list] rcpput [-r] [-v] [[-p] <profile>] <local> <remote> rcpput [-r] [-v] [-H <host>] <local> <remote>
OPTIONS
GLOBAL: -h brief help --help detailed help -V version number --version version string -v|--verbose increment verbosity -k reset terminal after action -c clear terminal after action -K|-C reset & clear terminal after action PROFILES: -p|--profile <profile> specify a profile to use -a|--add <name> add a new profile -d|--del <name> delete specified profile -e|--edit <name> edit a specified profile -L <profile> list a specified profile -l brief listing of profiles --list detailed list of profiles --list-all brief listing of all connmgr profiles NO PROFILE: -H|--host <host> specify a host to connect to -P|--port <port> specify port to use -U|--user <user> specify username to connect as SCPGET/PUT & RCPGET/PUT ONLY: -r recursive directories
DESCRIPTION
connmgr provides for user based profiles configuration. So if you have many ssh/telnet/ftp/rsh accounts on different servers requiring differ- ent ports and user names, this is the tool for you! connmgr itself is more than _just_ a simple ssh/telnet/ftp/rsh wrapper. connmgr is really eleven applications in one! There is sshmgr, scmdmgr, sftpmgr, scpget, scpput, ftpmgr, telnetmgr, rloginmgr, rshmgr, rcpget and rcpput. Simply copy (or link) the one connmgr Perl script to the other names. If you installed this application from a prebuilt package, this should have been done for you already. connmgr depends on Perl (>= 5.6.0) [http://perl.com] and the CPAN mod- ule AppConfig [http://search.cpan.org/author/ABW/AppConfig-1.52/]. con- nmgr also has an accompanying Bash (requires bash >= 2.05b) script for extending the tab auto completion for the commands connmgr, sftpmgr, ftpmgr, telnetmgr, rloginmgr and rshmgr.
EXAMPLES
sshmgr:
$ sshmgr -a work
$ sshmgr -e work
$ sshmgr -d work
$ sshmgr work
scmdmgr:
$ scmdmgr work '/bin/ls -al'
* will connect using the profile named "work" and execute the command ls. sftpmgr: $ sftpmgr work * will connect using the profile named "work" scpget: $ scpget work /local/path/ /remote/path/to/file * will download the file named "file" to /local/path/ * use -v for the standard scp progress meter scpput: $ scpput work /local/path/to/file /remote/path/ * will upload the file named "file" to /remote/path/ * use -v for the standard scp progress meter ftpmgr: $ ftpmgr -a work * will interactively create a profile named "work" $ ftpmgr -e work * will edit all the details of the profile named "work" $ ftpmgr -d work * will delete the profile named "work" $ ftpmgr work * will connect using the profile named "work" telnetmgr: $ telnetmgr -a work * will interactively create a profile named "work" $ telnetmgr -e work * will edit all the details of the profile named "work" $ telnetmgr -d work * will delete the profile named "work" $ telnetmgr work * will connect using the profile named "work" rloginmgr: $ rloginmgr -a work * will interactively create a profile named "work" $ rloginmgr -e work * will edit all the details of the profile named "work" $ rloginmgr -d work * will delete the profile named "work" $ rloginmgr work * will connect using the profile named "work" rshmgr: $ rshmgr work '/bin/ls -al' * will connect using the profile named "work" and execute the command ls. rcpget: $ rcpget work /local/path/ /remote/path/to/file * will download the file named "file" to /local/path/ rcpput: $ rcpput work /local/path/to/file /remote/path/ * will upload the file named "file" to /remote/path/
SEE ALSO
connmgrrc(5)
BUGS
No known bugs.
If you find any bugs please email Kevin C. Krinke <kckrinke@opendoor- software.com> and include the word "connmgr" in the subject line.
AUTHOR
Kevin C. Krinke <kckrinke@opendoorsoftware.com>
Kevin C. Krinke 1.0.0 connmgr(1)