Skip to content
/ authrc Public

Authentication runcom library and command

License

Notifications You must be signed in to change notification settings

gotamer/authrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License GoDoc

The friendly authentication runcom, library, and command

Here you can find the authrc specs, a go library, and a cli 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 file single line example:

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