Skip to content

gotamer/authrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License GoDoc

                              .   oooo
                            .o8   `888
     .oooo.   oooo  oooo  .o888oo  888 .oo.   oooo d8b  .ooooo.
    `P  )88b  `888  `888    888    888P"Y88b  `888""8P d88' `"Y8
     .oP"888   888   888    888    888   888   888     888
.o. d8(  888   888   888    888 .  888   888   888     888   .o8
Y8P `Y888""8o  `V88V"V8P'   "888" o888o o888o d888b    `Y8bod8P'

Welcome to the friendly authentication runcom library and command

authrc - runcom command

authrc is a command line tool to read .authrc files.

See bin folder

.authrc - runcom file

The .autrc file contains login and initialization information used for auto login. It generally resides in the user’s config directory, but a location outside of the config directory can be set.

  • ALIAS
    Alias of a service, or remote host

  • SERVICE
    Identify a service or remote host name. The auto login process searches the .authrc file for a SERVICE token that matches the service or remote machine specified on the command line argument. Once a match is made, the subsequent .authrc tokens are processed, stopping when the end of line is reached

  • USERNAME
    Identify a user of the service, or on the remote machine.

  • PASSWORD
    Supply a password. If this token is present, the auto-login process will supply the specified string if the service or remote server requires a password as part of the login process.

  • COMMAND
    Command to execute on remote server.

Example

.authrc single line example:

ALIAS: blog, SERVICE: posts.example.net, USERNAME: bloguser@example.net, PASSWORD: 12345abcd